# # 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 : html ; install images : overview/proactor.png overview/sync_op.png overview/async_op1.png overview/async_op2.png : html/boost_asio ; local example-names = allocation buffers chat echo http/client http/server http/server2 http/server3 invocation iostreams local multicast nonblocking porthopper serialization services socks4 ssl timeouts timers windows ; for local l in $(example-names) { install ex_$(l) : [ glob ../example/$(l)/*.*pp ] : html/boost_asio/example/$(l) ; } boostbook standalone : standalone_doc : boost.root=../../../.. boost.libraries=../../../../libs/libraries.htm navig.graphics.path="../../../../doc/html/images/" chapter.autolabel=0 chunk.section.depth=8 chunk.first.sections=1 toc.section.depth=2 toc.max.depth=1 generate.section.toc.level=1 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 : overview/proactor.png overview/sync_op.png overview/async_op1.png overview/async_op2.png : $(BOOST_ROOT)/doc/html/boost_asio ; explicit asio_doc_images ; for local l in $(example-names) { install asio_ex_$(l) : [ glob ../example/$(l)/*.*pp ] : $(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 : chapter.autolabel=0 chunk.section.depth=8 chunk.first.sections=1 toc.section.depth=2 toc.max.depth=1 generate.section.toc.level=1 generate.toc="chapter nop section nop" root.filename=boost_asio : asio_doc_images asio_examples ; explicit asio ;