doxy2qbk.pl 672 B

12345678910111213141516171819202122
  1. #!/usr/bin/perl -w
  2. # Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  3. #
  4. # Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. use strict;
  7. system("doxygen reference.dox");
  8. chdir("xml");
  9. system("xsltproc combine.xslt index.xml > all.xml");
  10. chdir("..");
  11. system("xsltproc reference.xsl xml/all.xml > reference.qbk");
  12. system("rm -rf xml");
  13. system("doxygen tutorial.dox");
  14. chdir("xml");
  15. system("xsltproc combine.xslt index.xml > all.xml");
  16. chdir("..");
  17. system("xsltproc tutorial.xsl xml/all.xml > tutorial.qbk");
  18. system("rm -rf xml reference.tags");