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