47 lines
1016 B
Plaintext
47 lines
1016 B
Plaintext
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 ;
|