jamfile.v2 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # Convert documentation Jamfile
  2. # Copyright (c) Vladimir Batov 2009-2014
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # See copy at http://www.boost.org/LICENSE_1_0.txt.
  5. using quickbook ;
  6. using doxygen ;
  7. path-constant here : . ; # convenient to refer to files in the same directory as this jamfile.v2
  8. path-constant boost-images : ../../../doc/src/images ;
  9. import modules ;
  10. if --enable-index in [ modules.peek : ARGV ]
  11. {
  12. ECHO "Building the convert docs with automatic index generation enabled." ;
  13. using auto-index ;
  14. project convert_doc : requirements
  15. <auto-index>on
  16. <auto-index-script>index.idx
  17. <auto-index-prefix>.
  18. <auto-index-verbose>on
  19. <format>html:<auto-index-internal>on
  20. <format>html:<xsl:param>generate.index=0
  21. <format>pdf:<auto-index-internal>on
  22. <format>pdf:<xsl:param>index.on.type=1
  23. <quickbook-define>enable_index ;
  24. }
  25. else
  26. {
  27. project convert_doc ;
  28. ECHO "Building the convert docs with automatic index generation disabled. Try building with --enable-index." ;
  29. }
  30. doxygen convert_reference
  31. :
  32. [ glob $(here)/../include/boost/convert.hpp $(here)/../include/boost/make_default.hpp $(here)/../include/boost/convert/*.hpp ]
  33. :
  34. <doxygen:param>PROJECT_NAME="CONVERT"
  35. <doxygen:param>PROJECT_NUMBER=3
  36. <doxygen:param>SORT_MEMBER_DOCS=NO
  37. <doxygen:param>SHOW_INCLUDE_FILES=NO
  38. <doxygen:param>MAX_INITIALIZER_LINES=0
  39. <doxygen:param>VERBATIM_HEADERS=NO
  40. <doxygen:param>WARNINGS=NO # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings for undocumented members.
  41. # If EXTRACT_ALL is set to YES then this flag will automatically be disabled.
  42. <doxygen:param>WARN_IF_UNDOCUMENTED=NO # If WARN_IF_UNDOCUMENTED is set to YES,
  43. # then doxygen will generate warnings for undocumented members.
  44. <doxygen:param>WARN_IF_DOC_ERROR=YES # If WARN_IF_DOC_ERROR is set to YES, Doxygen will generate warnings for
  45. # potential errors in the documentation.
  46. #<reftitle>"Reference"
  47. <xsl:param>"boost.doxygen.reftitle=Boost.Convert C++ Reference"
  48. ;
  49. xml convert
  50. :
  51. 00_main.qbk
  52. :
  53. <dependency>convert_reference
  54. ;
  55. boostbook standalone
  56. :
  57. convert
  58. :
  59. <xsl:param>boost.root=../../../..
  60. <xsl:param>chunk.section.depth=8
  61. <xsl:param>toc.section.depth=8 # How far down sections get TOCs.
  62. <xsl:param>toc.max.depth=4 # Max depth in each TOC.
  63. # PDF Options:
  64. # TOC Generation: this is needed for FOP-0.9 and later:
  65. <xsl:param>fop1.extensions=0
  66. <xsl:param>xep.extensions=1
  67. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  68. <xsl:param>fop.extensions=1
  69. # No indent on body text:
  70. <xsl:param>body.start.indent=0pt
  71. # Margin size:
  72. <xsl:param>page.margin.inner=0.5in
  73. # Margin size:
  74. <xsl:param>page.margin.outer=0.5in
  75. # Paper type = A4
  76. <xsl:param>paper.type=A4
  77. # Yes, we want graphics for admonishments:
  78. <xsl:param>admon.graphics=1
  79. # Set this one for PDF generation *only*:
  80. # default pnd graphics are awful in PDF form,
  81. # better use SVG's instead:
  82. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  83. <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
  84. ;
  85. install pdfinstall
  86. : standalone
  87. : <location>.. <install-type>PDF <name>convert.pdf
  88. ;
  89. explicit css ;
  90. explicit images ;
  91. ###############################################################################
  92. alias boostdoc ;
  93. explicit boostdoc ;
  94. alias boostrelease : standalone ;
  95. explicit boostrelease ;