Jamfile.v2 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # Distributed under the Boost Software License, Version 1.0. (See
  2. # accomanying file LICENSE_1_0.txt or copy at
  3. # http://www.boost.org/LICENSE_1_0.txt
  4. import path ;
  5. import doxygen ;
  6. import quickbook ;
  7. # using auto-index ;
  8. using doxygen ;
  9. using quickbook ;
  10. using boostbook ;
  11. path-constant here : . ;
  12. rule run_doxygen ( files * : name )
  13. {
  14. doxygen yap_reference
  15. :
  16. $(files)
  17. :
  18. <doxygen:param>EXTRACT_ALL=YES
  19. # note that there is no detail::unspecified -- this is a hack to get all
  20. # the SFINAE code out of the API docs.
  21. <doxygen:param>"PREDEFINED=\"BOOST_YAP_DOXYGEN=1\" \\
  22. \"lazy_enable_if=detail::unspecified\" \\
  23. \"enable_if=detail::unspecified\""
  24. <doxygen:param>HIDE_UNDOC_MEMBERS=NO
  25. <doxygen:param>EXTRACT_PRIVATE=NO
  26. <doxygen:param>ENABLE_PREPROCESSING=YES
  27. <doxygen:param>MACRO_EXPANSION=YES
  28. <doxygen:param>EXPAND_ONLY_PREDEF=YES
  29. <doxygen:param>SEARCH_INCLUDES=NO
  30. <doxygen:param>EXAMPLE_PATH=.
  31. <reftitle>$(name)
  32. ;
  33. }
  34. run_doxygen [ glob $(here)/../../../boost/yap/*.hpp ] : "Headers" ;
  35. install images_standalone : [ glob *.png ] : <location>html/yap/img ;
  36. explicit images_standalone ;
  37. install images_boostdoc : [ glob *.png ] : <location>../../../doc/html/yap/img ;
  38. explicit images_boostdoc ;
  39. xml yap
  40. :
  41. yap.qbk
  42. :
  43. <dependency>yap_reference
  44. ;
  45. boostbook standalone
  46. :
  47. yap
  48. :
  49. # HTML options first:
  50. # Use graphics not text for navigation:
  51. <xsl:param>navig.graphics=1
  52. # How far down we chunk nested sections, basically all of them:
  53. <xsl:param>chunk.section.depth=10
  54. # Don't put the first section on the same page as the TOC:
  55. <xsl:param>chunk.first.sections=1
  56. # How far down sections get TOC's
  57. <xsl:param>toc.section.depth=10
  58. # Max depth in each TOC:
  59. <xsl:param>toc.max.depth=4
  60. # How far down we go with TOC's
  61. <xsl:param>generate.section.toc.level=10
  62. # Set the path to the boost-root so we find our graphics:
  63. <xsl:param>boost.root="../../../.."
  64. # location of the main index file so our links work:
  65. #<xsl:param>boost.libraries=../../../../../libs/libraries.htm
  66. # PDF Options:
  67. # TOC Generation: this is needed for FOP-0.9 and later:
  68. # <xsl:param>fop1.extensions=1
  69. <xsl:param>xep.extensions=1
  70. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  71. <xsl:param>fop.extensions=0
  72. # No indent on body text:
  73. <xsl:param>body.start.indent=0pt
  74. # Margin size:
  75. <xsl:param>page.margin.inner=0.5in
  76. # Margin size:
  77. <xsl:param>page.margin.outer=0.5in
  78. # Yes, we want graphics for admonishments:
  79. <xsl:param>admon.graphics=1
  80. # Set this one for PDF generation *only*:
  81. # default pnd graphics are awful in PDF form,
  82. # better use SVG's instead:
  83. # <xsl:param>admon.graphics.extension=".svg"
  84. # <auto-index>on
  85. # <auto-index-verbose>on
  86. # <auto-index-internal>on
  87. # <auto-index-script>yap.idx
  88. # <quickbook-define>enable_index
  89. # <auto-index-prefix>../../..
  90. # <format>html:<auto-index-internal>on
  91. # <format>docbook:<auto-index-internal>on
  92. # <xsl:param>index.on.type=1
  93. <dependency>images_standalone
  94. ;
  95. alias boostdoc : yap : : : <dependency>images_boostdoc ;
  96. explicit boostdoc ;
  97. alias boostrelease ;
  98. explicit boostrelease ;