From b736004a967103fd43a033c9f5baaa50cc41a53e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 24 Feb 2016 10:52:03 -0600 Subject: Merge building of docs for release from develop. This adds an option for building all found project docs used by CI to build regular release archives. --- doc/Jamfile.v2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc') diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index f46b76ef3a..01e2d0a8b0 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -6,8 +6,22 @@ project boost/doc ; import boostbook : boostbook ; +path-constant BOOST_DOC : . ; + alias asio : ../libs/asio/doc//asio/boost.libraries=../../libs/libraries.htm ; +if "--release-build" in [ modules.peek : ARGV ] +{ + import project ; + import path ; + local lib-docs = [ path.glob [ path.glob $(BOOST_DOC)/../libs : */doc ] + : [ modules.peek project : JAMFILE ] ] ; + for local lib-doc in $(lib-docs:D) + { + build-project [ path.relative-to $(BOOST_DOC) $(lib-doc) ] ; + } +} + # # Note that when refering to libraries that use auto-index we must process all the way to # docbook before including here. We must also ensure that auto-index uses it's own index @@ -42,6 +56,8 @@ boostbook doc ../libs/accumulators/doc//accumulators ../libs/circular_buffer/doc//standalone/docbook ../libs/lexical_cast/doc//lexical_cast + ../libs/crc/doc//crc + ../libs/crc/doc//autodoc.xml ../libs/chrono/doc//chrono ../libs/dll/doc//dll-doc ../libs/program_options/doc//autodoc.xml @@ -87,12 +103,14 @@ boostbook doc ../libs/type_erasure/doc//type_erasure ../libs/align/doc//align ../libs/type_index/doc//type_index + ../libs/metaparse/doc//metaparse ## Add path references to the QuickBook generated docs... ../libs/accumulators/doc//accumulators ../libs/chrono/doc//chrono ../libs/lexical_cast/doc//lexical_cast + ../libs/crc/doc//crc ../libs/dll/doc//dll-doc ../libs/functional/hash/doc//hash #../libs/type_traits/doc//type_traits @@ -124,6 +142,7 @@ boostbook doc ../libs/type_erasure/doc//type_erasure ../libs/align/doc//align ../libs/type_index/doc//type_index + ../libs/metaparse/doc//metaparse boost.libraries=../../libs/libraries.htm html:chunker.output.doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" -- cgit v1.2.1