1#============================================================================== 2# Copyright (c) 2002 2004 2006 Joel de Guzman 3# Copyright (c) 2004 Eric Niebler 4# http://spirit.sourceforge.net/ 5# 6# Use, modification and distribution is subject to the Boost Software 7# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 8# http://www.boost.org/LICENSE_1_0.txt) 9#============================================================================== 10 11project quickbook/doc ; 12 13using boostbook ; 14using quickbook ; 15 16# Targets for building individual parts for combined documentation. 17xml quickbook : quickbook.qbk ; 18xml boost-doc-tools : boost-doc-tools/boost-doc-tools.qbk ; 19 20# Target for building the full documentation guide from quickbook. 21xml doc-guide : doc-guide.qbk ; 22 23path-constant images : ../../../doc/src ; 24 25boostbook standalone 26 : 27 doc-guide 28 : 29 <format>html:<xsl:param>boost.root=../../../.. 30 <format>html:<xsl:param>img.src.path=../../../../doc/html/ 31 <format>xhtml:<xsl:param>boost.root=../../../.. 32 <format>xhtml:<xsl:param>img.src.path=../../../../doc/html/ 33 34 #<xsl:param>callout.graphics.path=../../images/callouts// 35 <format>pdf:<xsl:param>img.src.path=$(images)/ 36 <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html 37 ; 38 39boostbook fully-standalone 40 : 41 doc-guide/<quickbook-define>__standalone__ 42 : 43 <dependency>css 44 <dependency>images 45 <xsl:param>boost.root=http://www.boost.org/doc/libs/develop 46 <xsl:param>html.stylesheet=boostbook.css 47 <xsl:param>img.src.path=images/ 48 <xsl:param>boost.graphics.root=images/ 49 <xsl:param>boost.mobile=1 50 # Use an invalid nav.layout value so it displays the header 51 # image, but with no navigation. 52 <xsl:param>nav.layout=hackhackhack 53 ; 54explicit fully-standalone ; 55 56install css : [ glob $(BOOST_ROOT)/doc/src/*.css ] 57 : <location>html ; 58install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ] 59 : <location>html/images ; 60explicit css ; 61explicit images ; 62