diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 983af0c..465d624 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -5,47 +5,10 @@ import doxygen ; import quickbook ; -project : requirements - # Path for links to Boost: - boost.root=../../../.. - - # Some general style settings: - table.footnote.number.format=1 - footnote.number.format=1 - - # HTML options first: - # Use graphics not text for navigation: - navig.graphics=1 - # PDF Options: - # TOC Generation: this is needed for FOP-0.9 and later: - fop1.extensions=0 - xep.extensions=1 - # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9! - fop.extensions=0 - # No indent on body text: - body.start.indent=0pt - # Margin size: - page.margin.inner=0.5in - # Margin size: - page.margin.outer=0.5in - # Paper type = A4 - paper.type=A4 - # Yes, we want graphics for admonishments: - admon.graphics=1 - # Set this one for PDF generation *only*: - # default pnd graphics are awful in PDF form, - # better use SVG's instead: - pdf:admon.graphics.extension=".svg" - pdf:"admon.graphics.path=$(boost-images)/" - pdf:"boost.url.prefix=http://www.boost.org/doc/libs/release/libs/utility/doc/html" -; - -path-constant boost-images : ../../../doc/src/images ; - # Generate XML doxygen reference for base_from_member component in base_from_member_reference.xml doxygen base_from_member_reference : - ../../../boost/utility/base_from_member.hpp + $(BOOST_ROOT)/boost/utility/base_from_member.hpp : tmp ENABLE_PREPROCESSING=YES @@ -89,7 +52,7 @@ doxygen base_from_member_reference # Generate XML doxygen reference for boost_binary component in boost_binary_reference.xml doxygen boost_binary_reference : - ../../../boost/utility/binary.hpp + $(BOOST_ROOT)/boost/utility/binary.hpp : tmp ENABLE_PREPROCESSING=YES @@ -133,8 +96,8 @@ doxygen boost_binary_reference # Generate XML doxygen reference for call_traits component in call_traits_reference.xml doxygen call_traits_reference : - ../../../boost/call_traits.hpp - ../../../boost/detail/call_traits.hpp + $(BOOST_ROOT)/boost/call_traits.hpp + $(BOOST_ROOT)/boost/detail/call_traits.hpp : tmp ENABLE_PREPROCESSING=YES @@ -178,8 +141,8 @@ doxygen call_traits_reference # Generate XML doxygen reference for compressed_pair component in compressed_pair_reference.xml doxygen compressed_pair_reference : - ../../../boost/compressed_pair.hpp - ../../../boost/detail/compressed_pair.hpp + $(BOOST_ROOT)/boost/compressed_pair.hpp + $(BOOST_ROOT)/boost/detail/compressed_pair.hpp : tmp ENABLE_PREPROCESSING=YES @@ -223,8 +186,8 @@ doxygen compressed_pair_reference # Generate XML doxygen reference for in_place_factory component in in_place_factory_reference.xml doxygen in_place_factory_reference : - ../../../boost/utility/in_place_factory.hpp - ../../../boost/utility/typed_in_place_factory.hpp + $(BOOST_ROOT)/boost/utility/in_place_factory.hpp + $(BOOST_ROOT)/boost/utility/typed_in_place_factory.hpp : tmp ENABLE_PREPROCESSING=YES @@ -271,7 +234,7 @@ doxygen in_place_factory_reference # Generate XML doxygen reference for result_of component in result_of_reference.xml doxygen result_of_reference : - ../../../boost/utility/result_of.hpp + $(BOOST_ROOT)/boost/utility/result_of.hpp : tmp ENABLE_PREPROCESSING=YES @@ -315,7 +278,7 @@ doxygen result_of_reference # Generate XML doxygen reference for string_view component in string_view_reference.xml doxygen string_view_reference : - ../../../boost/utility/string_view.hpp + $(BOOST_ROOT)/boost/utility/string_view.hpp : tmp ENABLE_PREPROCESSING=YES @@ -359,7 +322,7 @@ doxygen string_view_reference # Generate XML doxygen reference for value_init component in value_init_reference.xml doxygen value_init_reference : - ../../../boost/utility/value_init.hpp + $(BOOST_ROOT)/boost/utility/value_init.hpp : tmp ENABLE_PREPROCESSING=YES @@ -405,7 +368,7 @@ xml main : main.qbk ; # Generate ./html documentation from main.xml boostbook documentation # Each doxygen reference in quickbook files with [xinclude tmp/_reference.xml] becomes: -# +# # in boostbook. # All of these commands give the reference the id "utility.reference" boostbook standalone_main @@ -422,7 +385,7 @@ boostbook standalone_main value_init_reference # File name of HTML output: # root.filename=main - boost.root=../../../.. + boost.root=$(BOOST_ROOT) pdf:"boost.url.prefix=http://www.boost.org/doc/libs/release/libs/utility/doc/html" # How far down we chunk nested sections: no more than two so utility component pages include their reference chunk.section.depth=2 # 8