Jamfile.v2 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #
  2. # Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  3. #
  4. # Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. #
  7. using quickbook ;
  8. ########################################################################
  9. # Standalone HTML documentation
  10. xml standalone_doc
  11. :
  12. asio.qbk
  13. ;
  14. install images
  15. :
  16. overview/proactor.png
  17. overview/sync_op.png
  18. overview/async_op1.png
  19. overview/async_op2.png
  20. :
  21. <location>html/boost_asio
  22. ;
  23. local example-names = cpp03/allocation cpp03/buffers cpp03/chat cpp03/echo
  24. cpp03/fork cpp03/http/client cpp03/http/server cpp03/http/server2
  25. cpp03/http/server3 cpp03/http/server4 cpp03/icmp cpp03/invocation
  26. cpp03/iostreams cpp03/local cpp03/multicast cpp03/nonblocking cpp03/porthopper
  27. cpp03/serialization cpp03/services cpp03/socks4 cpp03/spawn cpp03/ssl
  28. cpp03/timeouts cpp03/timers cpp03/windows cpp11/allocation cpp11/buffers
  29. cpp11/chat cpp11/echo cpp11/executors cpp11/fork cpp11/futures
  30. cpp11/handler_tracking cpp11/http/server cpp11/invocation cpp11/local
  31. cpp11/multicast cpp11/nonblocking cpp11/operations cpp11/socks4 cpp11/ssl
  32. cpp11/timeouts cpp11/timers cpp11/spawn cpp14/operations cpp17/coroutines_ts ;
  33. for local l in $(example-names)
  34. {
  35. install ex_$(l) : [ glob ../example/$(l)/*.*pp ] : <location>html/boost_asio/example/$(l) ;
  36. }
  37. boostbook standalone
  38. :
  39. standalone_doc
  40. :
  41. <xsl:param>boost.root=../../../..
  42. <xsl:param>chapter.autolabel=0
  43. <xsl:param>chunk.section.depth=8
  44. <xsl:param>chunk.first.sections=1
  45. <xsl:param>toc.section.depth=2
  46. <xsl:param>toc.max.depth=1
  47. <xsl:param>generate.section.toc.level=1
  48. <xsl:param>generate.toc="chapter nop section nop"
  49. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/asio/doc/html
  50. ;
  51. ########################################################################
  52. # HTML documentation for $(BOOST_ROOT)/doc/html
  53. xml asio_doc
  54. :
  55. asio.qbk
  56. ;
  57. explicit asio_doc ;
  58. install asio_doc_images
  59. :
  60. overview/proactor.png
  61. overview/sync_op.png
  62. overview/async_op1.png
  63. overview/async_op2.png
  64. :
  65. <location>$(BOOST_ROOT)/doc/html/boost_asio
  66. ;
  67. explicit asio_doc_images ;
  68. for local l in $(example-names)
  69. {
  70. install asio_ex_$(l) : [ glob ../example/$(l)/*.*pp ] : <location>$(BOOST_ROOT)/doc/html/boost_asio/example/$(l) ;
  71. explicit asio_ex_$(l) ;
  72. }
  73. alias asio_examples : asio_ex_$(example-names) ;
  74. explicit asio_examples ;
  75. path-constant images_location : ../../../doc/html ;
  76. boostbook asio
  77. :
  78. asio_doc
  79. :
  80. <name>../../../doc/html
  81. <xsl:param>chapter.autolabel=0
  82. <xsl:param>chunk.section.depth=8
  83. <xsl:param>chunk.first.sections=1
  84. <xsl:param>toc.section.depth=2
  85. <xsl:param>toc.max.depth=1
  86. <xsl:param>generate.section.toc.level=1
  87. <xsl:param>generate.toc="chapter nop section nop"
  88. <xsl:param>root.filename=boost_asio
  89. <format>pdf:<xsl:param>img.src.path=$(images_location)/
  90. <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/asio/doc/html
  91. :
  92. <dependency>asio_doc_images
  93. <dependency>asio_examples
  94. ;
  95. explicit asio ;
  96. ###############################################################################
  97. alias boostdoc ;
  98. explicit boostdoc ;
  99. alias boostrelease : asio ;
  100. explicit boostrelease ;