# Copyright (c) 2008 John Maddock
#
# 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)

import boostbook ;
import os ;
import common ;
import doxygen ;
import quickbook ;


boostbook array_docs 
	: ../../libs/array/doc/array.xml 
	:
        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
        <format>pdf
	;

boostbook any_docs 
	: ../../libs/any/doc/any.xml 
	:
        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
        <format>pdf
	;

install pdf-install 
  : 
    array_docs
    any_docs
    ../../libs/accumulators/doc//standalone 
    ../../libs/algorithm/string/doc//string_algo 
    ../../libs/asio/doc//asio 
    ../../libs/bimap/doc//standalone 
    ../../libs/bind/doc//ref-doc 
    ../../libs/concept_check/doc//concepts 
    ../../libs/config/doc//standalone 
    ../../libs/date_time/xmldoc//date_time 
    ../../libs/foreach/doc//standalone 
    ../../libs/function/doc//function-doc 
    ../../libs/functional/hash/doc//standalone
    ../../libs/fusion/doc//quickbook
    ../../libs/interprocess/doc//standalone
    ../../libs/intrusive/doc//standalone
    ../../libs/iterator/doc//standalone
    ../../libs/lambda/doc//lambda-doc
    ../../libs/logic/doc//tribool
    ../../libs/math/doc/complex//standalone
    ../../libs/math/doc/octonion//standalone
    ../../libs/math/doc/quaternion//standalone
    ../../libs/math/doc/gcd//standalone
    ../../libs/math/doc/sf_and_dist//standalone
    ../../libs/mpi/doc//standalone
    ../../libs/program_options/doc//program_option
    ../../libs/numeric/conversion/doc//standalone
    ../../libs/optional/doc//standalone
    ../../libs/proto/doc//standalone
    ../../libs/range/doc//standalone
    ../../libs/regex/doc//standalone
    ../../libs/scope_exit/doc//standalone
    ../../libs/signals/doc//doc
    ../../libs/static_assert/doc//standalone
    ../../libs/thread/doc//standalone
    ../../libs/tr1/doc//standalone
    ../../libs/type_traits/doc//standalone
    ../../libs/typeof/doc//standalone
    ../../libs/units/doc//standalone
    ../../libs/unordered/doc//standalone
    ../../libs/variant/doc//variant-doc
    ../../libs/xpressive/doc//standalone

    ../../tools/boostbook/doc//boostbook
    ../../tools/jam/doc//standalone
    ../../tools/quickbook/doc//standalone
  :
    <location>.
    <install-type>PDF
    <format>pdf
  ;


install python-tutorial-install
  :
    ../../libs/python/doc/tutorial/doc//tutorial
  :
    <location>.
    <install-type>PDF
    <format>pdf
    <name>python_tutorial.pdf
  ;

install phoenix-install
  :
    ../../libs/spirit/phoenix/doc//quickbook
  :
    <location>.
    <install-type>PDF
    <format>pdf
    <name>phoenix.pdf
  ;

install boost-build-install
  :
    ../../tools/build/v2/doc//userman
  :
    <location>.
    <install-type>PDF
    <format>pdf
    <name>boost_build.pdf
  ;

install signals2-install
  :
    ../../libs/signals2/doc//standalone
  :
    <location>.
    <install-type>PDF
    <format>pdf
    <name>signals2.pdf
    <dependency>../../libs/signals2/doc//hello_world_def_code_snippet.xml
  ;






