]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # |
2 | # Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail 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 | # | |
7 | ||
8 | import os ; | |
9 | ||
10 | local broot = [ os.environ BOOST_ROOT ] ; | |
11 | ||
12 | project beast/doc ; | |
13 | ||
14 | using boostbook ; | |
15 | using quickbook ; | |
16 | using doxygen ; | |
17 | ||
18 | import quickbook ; | |
19 | ||
20 | path-constant here : . ; | |
21 | ||
22 | install stylesheets | |
23 | : | |
24 | $(broot)/doc/src/boostbook.css | |
25 | : | |
26 | <location>$(here)/html | |
27 | ; | |
28 | ||
29 | explicit stylesheets ; | |
30 | ||
31 | install images | |
32 | : | |
33 | [ glob $(broot)/doc/src/images/*.png ] | |
34 | images/beast.png | |
35 | images/body.png | |
36 | images/message.png | |
37 | : | |
38 | <location>$(here)/html/images | |
39 | ; | |
40 | ||
41 | explicit images ; | |
42 | ||
43 | install callouts | |
44 | : | |
45 | [ glob $(broot)/doc/src/images/callouts/*.png ] | |
46 | : | |
47 | <location>$(here)/html/images/callouts | |
48 | ; | |
49 | ||
50 | explicit callout ; | |
51 | ||
52 | install examples | |
53 | : | |
54 | [ glob | |
55 | ../examples/*.cpp | |
56 | ../examples/*.hpp | |
57 | ../examples/ssl/*.cpp | |
58 | ../examples/ssl/*.hpp | |
59 | ] | |
60 | : | |
61 | <location>$(here)/html/examples | |
62 | ; | |
63 | ||
64 | explicit examples ; | |
65 | ||
66 | xml doc | |
67 | : | |
68 | master.qbk | |
69 | : | |
70 | <location>temp | |
71 | <include>$(broot)/tools/boostbook/dtd | |
72 | ; | |
73 | ||
74 | boostbook boostdoc | |
75 | : | |
76 | doc | |
77 | : | |
78 | <xsl:param>boost.root=$(broot) | |
79 | <xsl:param>boost.image.src=images/beast.png | |
80 | <xsl:param>boost.image.alt="Beast Logo" | |
81 | <xsl:param>boost.image.w=1330 | |
82 | <xsl:param>boost.image.h=80 | |
83 | <xsl:param>chapter.autolabel=0 | |
84 | <xsl:param>chunk.section.depth=8 # Depth to which sections should be chunked | |
85 | <xsl:param>chunk.first.sections=1 # Chunk the first top-level section? | |
86 | <xsl:param>toc.section.depth=8 # How deep should recursive sections appear in the TOC? | |
87 | <xsl:param>toc.max.depth=8 # How many levels should be created for each TOC? | |
88 | <xsl:param>generate.section.toc.level=8 # Control depth of TOC generation in sections | |
89 | <xsl:param>generate.toc="chapter nop section nop" | |
90 | <include>$(broot)/tools/boostbook/dtd | |
91 | : | |
92 | <location>temp | |
93 | <dependency>examples | |
94 | <dependency>images | |
95 | <dependency>stylesheets | |
96 | ; | |
97 |