]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | using quickbook ; |
2 | ||
3 | #import os ; | |
4 | ||
5 | # Code snippet from Accumulators' Jamfile to copy the images. | |
6 | # | |
7 | IMAGES_DST = html/images/metaparse ; | |
8 | ||
9 | path-constant IMAGES : images ; | |
10 | ||
11 | actions copy-pngs | |
12 | { | |
13 | echo "Copying images of Metaparse documentation" | |
14 | mkdir -p $(IMAGES_DST) | |
15 | cp $(IMAGES)/*.png $(IMAGES_DST) | |
16 | echo "Images copied" > "$(<)" | |
17 | } | |
18 | ||
19 | make images_copied : metaparse.qbk : @copy-pngs ; | |
20 | ||
21 | xml metaparse : metaparse.qbk : <dependency>images_copied ; | |
22 | ||
23 | boostbook standalone | |
24 | : | |
25 | metaparse | |
26 | : | |
27 | <xsl:param>boost.root=../../../.. | |
28 | <xsl:param>chapter.autolabel=0 | |
29 | <xsl:param>chunk.section.depth=1 | |
30 | <xsl:param>toc.section.depth=2 | |
31 | <xsl:param>toc.max.depth=2 | |
32 | <xsl:param>generate.section.toc.level=1 | |
33 | ; | |
34 | ||
35 | install html : ../../../doc/src/boostbook.css ; | |
36 | install ../ : ../../../boost.png ; | |
37 | ||
38 | ############################################################################### | |
39 | alias boostdoc | |
40 | : metaparse | |
41 | : | |
42 | : | |
43 | : ; | |
44 | explicit boostdoc ; | |
45 | alias boostrelease ; | |
46 | explicit boostrelease ; |