# Copyright Rene Rivera 2011 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) using quickbook ; using boostbook ; import path ; if ! $(BOOST_ROOT) { BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; } if $(BOOST_PREDEF_ROOT) { path-constant BOOST_PREDEF_INCLUDE_ROOT : $(BOOST_PREDEF_ROOT)/include ; } else { path-constant BOOST_PREDEF_INCLUDE_ROOT : $(BOOST_ROOT) ; } local BOOST_PREDEF_HEADERS = [ path.glob-tree $(BOOST_PREDEF_INCLUDE_ROOT)/boost/predef : *.h ] ; xml predef : predef.qbk : $(BOOST_PREDEF_INCLUDE_ROOT)/boost/predef.h $(BOOST_PREDEF_HEADERS) ; explicit predef ; boostbook standalone : predef : boost.root=../../.. #generate.section.toc.level=3 chunk.section.depth=2 chunk.first.sections=1 images callouts css ; install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ] : html/images ; explicit images ; install callouts : [ glob $(BOOST_ROOT)/doc/src/images/callouts/*.png ] : html/images/callouts ; explicit callouts ; install css : [ glob $(BOOST_ROOT)/doc/src/*.css ] : html ; explicit css ;