From 376e7a8791aba13c8d34ced573dffbe8e845f290 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 24 Feb 2013 14:46:28 +0000 Subject: Merge auto-index fixes. Fixes #7899. [SVN r83132] --- doc/Jamfile.v2 | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) (limited to 'doc/Jamfile.v2') diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 2d1ddc4e20..c783c52e5f 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -8,6 +8,28 @@ import boostbook : boostbook ; alias asio : ../libs/asio/doc//asio/boost.libraries=../../libs/libraries.htm ; +# +# 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 +# generation, otherwise we get one big index that's repeated in each library. Xslt's index +# generation is also so slow that it's impractical for a build this large (takes ~ 9 hrs +# to build with just 3 indexed libraries). Hence we refer to these libraries as for example: +# +# ../libs/interprocess/doc//standalone/docbook +# +# Within each library that uses this, make sure that the boostbook target contains +# +# docbook:on +# +# And if boost.root is set, restrict it to local html builds using: +# +# html:boost.root=../../../.. +# html:boost.libraries=../../../../libs/libraries.htm +# +# Finally, in boost.xml we xi:include interproces.auto_index.docbook which is the final +# post-index generation docbook, rather than interprocess.xml which is the pre-indexed boostbook. +# + boostbook doc : src/boost.xml @@ -44,14 +66,11 @@ boostbook doc ../libs/date_time/xmldoc//local_time_autodoc.xml ../tools/build/v2/doc//jam_docs ../tools/quickbook/doc//quickbook - ../libs/interprocess/doc//autodoc.xml - ../libs/interprocess/doc//interprocess - ../libs/intrusive/doc//autodoc.xml - ../libs/intrusive/doc//intrusive + ../libs/interprocess/doc//standalone/docbook + ../libs/intrusive/doc//standalone/docbook ../libs/move/doc//autodoc.xml ../libs/move/doc//move - ../libs/container/doc//autodoc.xml - ../libs/container/doc//container + ../libs/container/doc//standalone/docbook ../libs/units/doc//units ../libs/unordered/doc//unordered ../libs/thread/doc//thread @@ -82,9 +101,9 @@ boostbook doc ../tools/build/v2/doc//jam_docs ../tools/quickbook/doc//quickbook ../libs/mpi/doc//mpi - ../libs/container/doc//container - ../libs/interprocess/doc//interprocess - ../libs/intrusive/doc//intrusive + ../libs/container/doc//standalone/docbook + ../libs/interprocess/doc//standalone/docbook + ../libs/intrusive/doc//standalone/docbook ../libs/move/doc//move ../libs/units/doc//units ../libs/unordered/doc//unordered @@ -108,3 +127,4 @@ install callouts : [ glob src/images/callouts/*.png ] : html/images/ca explicit callouts ; + -- cgit v1.2.1