# # Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com) # # 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) # import os ; local broot = [ os.environ BOOST_ROOT ] ; project beast/doc ; using boostbook ; using quickbook ; using doxygen ; import quickbook ; path-constant here : . ; install stylesheets : $(broot)/doc/src/boostbook.css : $(here)/html ; explicit stylesheets ; install images : [ glob $(broot)/doc/src/images/*.png ] images/beast.png images/body.png images/message.png : $(here)/html/images ; explicit images ; install callouts : [ glob $(broot)/doc/src/images/callouts/*.png ] : $(here)/html/images/callouts ; explicit callout ; install examples : [ glob ../examples/*.cpp ../examples/*.hpp ../examples/ssl/*.cpp ../examples/ssl/*.hpp ] : $(here)/html/examples ; explicit examples ; xml doc : master.qbk : temp $(broot)/tools/boostbook/dtd ; boostbook boostdoc : doc : boost.root=$(broot) boost.image.src=images/beast.png boost.image.alt="Beast Logo" boost.image.w=1330 boost.image.h=80 chapter.autolabel=0 chunk.section.depth=8 # Depth to which sections should be chunked chunk.first.sections=1 # Chunk the first top-level section? toc.section.depth=8 # How deep should recursive sections appear in the TOC? toc.max.depth=8 # How many levels should be created for each TOC? generate.section.toc.level=8 # Control depth of TOC generation in sections generate.toc="chapter nop section nop" $(broot)/tools/boostbook/dtd : temp examples images stylesheets ;