Jamfile.v2 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Boost.Config
  2. #
  3. # Copyright (c) 2001 Beman Dawes
  4. # Copyright (c) 2001 Vesa Karvonen
  5. # Copyright (c) 2001 John Maddock
  6. #
  7. # Distributed under the Boost Software License, Version 1.0.
  8. # (See accompanying file LICENSE_1_0.txt or copy at
  9. # http://www.boost.org/LICENSE_1_0.txt)
  10. # Quickbook
  11. # -----------------------------------------------------------------------------
  12. import quickbook ;
  13. path-constant boost-images : ../../../doc/src/images ;
  14. xml config
  15. :
  16. config.qbk
  17. ;
  18. boostbook standalone
  19. :
  20. config
  21. :
  22. <xsl:param>toc.max.depth=2
  23. <xsl:param>toc.section.depth=2
  24. <xsl:param>chunk.section.depth=1
  25. <xsl:param>boost.root=../../../..
  26. # PDF Options:
  27. <format>pdf:<xsl:param>xep.extensions=1
  28. # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
  29. <format>pdf:<xsl:param>fop.extensions=0
  30. <format>pdf:<xsl:param>fop1.extensions=0
  31. # No indent on body text:
  32. <format>pdf:<xsl:param>body.start.indent=0pt
  33. # Margin size:
  34. <format>pdf:<xsl:param>page.margin.inner=0.5in
  35. # Margin size:
  36. <format>pdf:<xsl:param>page.margin.outer=0.5in
  37. # Paper type = A4
  38. <format>pdf:<xsl:param>paper.type=A4
  39. # Yes, we want graphics for admonishments:
  40. <xsl:param>admon.graphics=1
  41. # Set this one for PDF generation *only*:
  42. # default pnd graphics are awful in PDF form,
  43. # better use SVG's instead:
  44. <format>pdf:<xsl:param>admon.graphics.extension=".svg"
  45. <format>pdf:<xsl:param>use.role.for.mediaobject=1
  46. <format>pdf:<xsl:param>preferred.mediaobject.role=print
  47. <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
  48. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/config/doc/html
  49. ;
  50. install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF ;
  51. explicit pdfinstall ;
  52. ###############################################################################
  53. alias boostdoc ;
  54. explicit boostdoc ;
  55. alias boostrelease : standalone ;
  56. explicit boostrelease ;