1#  Boost.Chrono library documentation Jamfile  ---------------------------------
2#
3#  Copyright Vicente J. Botet Escriba 2009. Use, modification and
4#  distribution is subject to the Boost Software License, Version
5#  1.0. (See accompanying file LICENSE_1_0.txt or copy at
6#  http://www.boost.org/LICENSE_1_0.txt)
7#
8#  See http://www.boost.org for updates, documentation, and revision history.
9
10#import doxygen ;
11using quickbook ;
12
13#doxygen autodoc
14#   :
15#      [ glob ../../../boost/chrono/*.hpp ]
16#      [ glob ../../../boost/chrono/allocators/*.hpp ]
17#   :
18#        <doxygen:param>EXTRACT_ALL=NO
19#        <doxygen:param>HIDE_UNDOC_MEMBERS=YES
20#        <doxygen:param>EXTRACT_PRIVATE=NO
21#        <doxygen:param>EXPAND_ONLY_PREDEF=YES
22#        <doxygen:param>PREDEFINED=BOOST_INTERPROCESS_DOXYGEN_INVOKED
23#        <xsl:param>"boost.doxygen.reftitle=Boost.Chrono Reference"
24#   ;
25
26xml chrono : chrono.qbk ;
27
28boostbook standalone
29   :
30      chrono
31   :
32        # HTML options first:
33        # Use graphics not text for navigation:
34        <xsl:param>navig.graphics=1
35        # How far down we chunk nested sections, basically all of them:
36        <xsl:param>chunk.section.depth=2
37        # Don't put the first section on the same page as the TOC:
38        <xsl:param>chunk.first.sections=1
39        # How far down sections get TOC's
40        <xsl:param>toc.section.depth=4
41        # Max depth in each TOC:
42        <xsl:param>toc.max.depth=2
43        # How far down we go with TOC's
44        <xsl:param>generate.section.toc.level=10
45        # Path for links to Boost:
46        <xsl:param>boost.root=../../../..
47        # Path for libraries index:
48        <xsl:param>boost.libraries=../../../../libs/libraries.htm
49        # Use the main Boost stylesheet:
50        <xsl:param>html.stylesheet=../../../../doc/src/boostbook.css
51
52        # PDF Options:
53        # TOC Generation: this is needed for FOP-0.9 and later:
54        <format>pdf:<xsl:param>fop1.extensions=0
55        # Or enable this if you're using XEP:
56        <format>pdf:<xsl:param>xep.extensions=1
57        # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
58        <format>pdf:<xsl:param>fop.extensions=0
59        # No indent on body text:
60        <xsl:param>body.start.indent=0pt
61        # Margin size:
62        <xsl:param>page.margin.inner=0.5in
63        # Margin size:
64        <xsl:param>page.margin.outer=0.5in
65        # Yes, we want graphics for admonishments:
66        <xsl:param>admon.graphics=1
67        # Set this one for PDF generation *only*:
68        # default pnd graphics are awful in PDF form,
69        # better use SVG's instead:
70        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
71        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)
72        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/chrono/doc/html
73   ;
74
75install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF ;
76explicit pdfinstall ;
77
78