# Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.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)
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/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>../tools/jam/doc//bjam
    <dependency>../libs/interprocess/doc//autodoc.xml
    <dependency>../libs/interprocess/doc//interprocess
    <dependency>../libs/intrusive/doc//autodoc.xml
    <dependency>../libs/intrusive/doc//intrusive
    <dependency>../libs/asio/doc//asio
    <dependency>../libs/thread/doc//thread

    ## 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/foreach/doc//foreach
    <implicit-dependency>../libs/typeof/doc//typeof
    <implicit-dependency>../libs/xpressive/doc//xpressive
    <implicit-dependency>../tools/jam/doc//bjam
    <implicit-dependency>../libs/mpi/doc//mpi
    <implicit-dependency>../libs/interprocess/doc//interprocess
    <implicit-dependency>../libs/intrusive/doc//intrusive
    <implicit-dependency>../libs/thread/doc//thread

    <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 ;


