project boost/doc ;
import boostbook : boostbook ;

boostbook doc
    :
    src/boost.xml
    :
    ## Build the various generated docs (Doxygen and QuickBook)...

    <dependency>../libs/program_options/doc//autodoc.xml
    <dependency>../libs/algorithm/string/doc//autodoc.xml
    <dependency>../libs/logic/doc//reference.xml
    <dependency>../libs/functional/hash/doc//hash
    <dependency>../libs/type_traits/doc//type_traits
    <dependency>../libs/static_assert/doc//static_assert
    <dependency>../libs/tr1/doc//tr1
    <dependency>../libs/math/doc//math
    <dependency>../libs/foreach/doc//foreach
    <dependency>../libs/mpi/doc//mpi
    <dependency>../libs/mpi/doc//mpi_autodoc.xml
    <dependency>../libs/typeof/doc//typeof
    <dependency>../libs/xpressive/doc//autodoc.xml
    <dependency>../libs/xpressive/doc//xpressive
    <dependency>../libs/date_time/xmldoc//date_time_autodoc.xml
    <dependency>../libs/date_time/xmldoc//gregorian_autodoc.xml
    <dependency>../libs/date_time/xmldoc//posix_time_autodoc.xml
    <dependency>../libs/date_time/xmldoc//local_time_autodoc.xml
    <dependency>../more/whos_using//using
    <dependency>../tools/jam/doc//bjam
    <dependency>../tools/quickbook/doc//quickbook
    <dependency>../libs/interprocess/doc//autodoc.xml
    <dependency>../libs/interprocess/doc//interprocess
    <dependency>../libs/intrusive/doc//autodoc.xml
    <dependency>../libs/intrusive/doc//intrusive

    ## Add path references to the QuickBook generated docs...

    <implicit-dependency>../libs/functional/hash/doc//hash
    <implicit-dependency>../libs/type_traits/doc//type_traits
    <implicit-dependency>../libs/static_assert/doc//static_assert
    <implicit-dependency>../libs/tr1/doc//tr1
    <implicit-dependency>../libs/math/doc//math
    <implicit-dependency>../libs/foreach/doc//foreach
    <implicit-dependency>../libs/typeof/doc//typeof
    <implicit-dependency>../libs/xpressive/doc//xpressive
    <implicit-dependency>../more/whos_using//using
    <implicit-dependency>../tools/jam/doc//bjam
    <implicit-dependency>../tools/quickbook/doc//quickbook
    <implicit-dependency>../libs/mpi/doc//mpi
    <implicit-dependency>../libs/interprocess/doc//interprocess
    <implicit-dependency>../libs/intrusive/doc//intrusive

    <xsl:param>boost.libraries=../../libs/libraries.htm

    <dependency>css
    <dependency>images
    ;

install css : [ glob src/*.css ] : <location>html ;
explicit css ;
install images : [ glob src/images/*.png ] : <location>html/images ;
explicit images ;
