• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1using quickbook ;
2
3#import os ;
4
5# Code snippet from Accumulators' Jamfile to copy the images.
6#
7IMAGES_DST = html/images/metaparse ;
8
9path-constant IMAGES : images ;
10
11actions 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
19make images_copied : metaparse.qbk : @copy-pngs ;
20
21xml metaparse : metaparse.qbk : <dependency>images_copied ;
22
23boostbook 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
35install html : ../../../doc/src/boostbook.css ;
36install ../ : ../../../boost.png ;
37
38###############################################################################
39alias boostdoc
40    : metaparse
41    :
42    :
43    : ;
44explicit boostdoc ;
45alias boostrelease ;
46explicit boostrelease ;
47