1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
#
# Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot 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)
#
using quickbook ;
########################################################################
# Standalone HTML documentation
xml standalone_doc
:
asio.qbk
;
install css
:
/boost//doc/html/boostbook.css
:
<location>html
;
install images
:
design/proactor.png
:
<location>html/boost_asio
;
local example-names = allocation buffers chat echo http/client http/server
http/server2 http/server3 invocation iostreams multicast serialization
services socks4 ssl timeouts timers ;
for local l in $(example-names)
{
install ex_$(l) : [ glob ../example/$(l)/*.*pp ] : <location>html/boost_asio/example/$(l) ;
}
boostbook standalone
:
standalone_doc
:
<xsl:param>boost.root=../../../..
<xsl:param>boost.libraries=../../../../libs/libraries.htm
<xsl:param>navig.graphics.path="../../../../doc/html/images/"
<xsl:param>chapter.autolabel=0
<xsl:param>chunk.section.depth=8
<xsl:param>chunk.first.sections=1
<xsl:param>toc.section.depth=2
<xsl:param>toc.max.depth=1
<xsl:param>generate.section.toc.level=1
<xsl:param>generate.toc="chapter nop section nop"
;
########################################################################
# HTML documentation for $(BOOST_ROOT)/doc/html
xml asio_doc
:
asio.qbk
;
explicit asio_doc ;
install asio_doc_images
:
design/proactor.png
:
<location>$(BOOST_ROOT)/doc/html/boost_asio
;
explicit asio_doc_images ;
for local l in $(example-names)
{
install asio_ex_$(l) : [ glob ../example/$(l)/*.*pp ] : <location>$(BOOST_ROOT)/doc/html/boost_asio/example/$(l) ;
explicit asio_ex_$(l) ;
}
alias asio_examples : asio_ex_$(example-names) ;
explicit asio_examples ;
boostbook asio
:
asio_doc
:
<xsl:param>chapter.autolabel=0
<xsl:param>chunk.section.depth=8
<xsl:param>chunk.first.sections=1
<xsl:param>toc.section.depth=2
<xsl:param>toc.max.depth=1
<xsl:param>generate.section.toc.level=1
<xsl:param>generate.toc="chapter nop section nop"
<xsl:param>root.filename=boost_asio
:
<dependency>asio_doc_images
<dependency>asio_examples
;
explicit asio ;
|