2023-10-13 09:07:56 +02:00
|
|
|
project async_mqtt5/doc ;
|
|
|
|
|
|
|
|
|
|
import os ;
|
2023-10-13 09:41:44 +02:00
|
|
|
local BOOST_ROOT = [ os.environ DevRoot ] ;
|
|
|
|
|
|
|
|
|
|
using boostbook
|
|
|
|
|
: $(BOOST_ROOT)3rdParty/boost-doc/boostbook/docbook-xsl-1.79.1
|
|
|
|
|
: $(BOOST_ROOT)3rdParty/boost-doc/boostbook/docbook-dtd-4.2
|
|
|
|
|
: $(BOOST_ROOT)3rdParty/boost-doc/boostbook
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
using xsltproc ;
|
|
|
|
|
using doxygen ;
|
|
|
|
|
|
|
|
|
|
# we shall use os.platform to correctly map quickbook executable
|
|
|
|
|
# echo [ os.platform ] ;
|
|
|
|
|
|
|
|
|
|
if [ os.name ] = MACOSX
|
|
|
|
|
{
|
|
|
|
|
using quickbook : $(BOOST_ROOT)build/macos-arm64-release/bin/quickbook ;
|
|
|
|
|
}
|
|
|
|
|
else if [ os.name ] = LINUX
|
|
|
|
|
{
|
2023-10-16 15:57:26 +02:00
|
|
|
using quickbook : $(BOOST_ROOT)build/linux-native-x64-release/bin/quickbook ;
|
2023-10-13 09:41:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
import boostbook ;
|
2023-10-13 09:07:56 +02:00
|
|
|
|
2023-10-24 11:28:19 +02:00
|
|
|
make xml/index.xml
|
|
|
|
|
:
|
|
|
|
|
reference.dox
|
|
|
|
|
:
|
|
|
|
|
@call-doxygen
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
# combine.xslt is generated after using doxygen but bjam is unaware of it
|
|
|
|
|
make xml/combine.xslt
|
|
|
|
|
:
|
|
|
|
|
xml/index.xml
|
|
|
|
|
:
|
|
|
|
|
@null-action
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
make xml/all.xml
|
|
|
|
|
:
|
|
|
|
|
xml/combine.xslt
|
|
|
|
|
xml/index.xml
|
|
|
|
|
:
|
|
|
|
|
@call-xsltproc
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
make reference.qbk
|
|
|
|
|
:
|
|
|
|
|
reference.xsl
|
|
|
|
|
xml/all.xml
|
|
|
|
|
:
|
|
|
|
|
@call-xsltproc
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
# We have to make a copy of reference.qbk and put it
|
|
|
|
|
# in a place where the static .qbk files can find it
|
|
|
|
|
install qbk/reference : reference.qbk ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actions null-action
|
|
|
|
|
{
|
|
|
|
|
# the action is used with "make" rule to make bjam aware that a file exists
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
actions call-doxygen
|
|
|
|
|
{
|
|
|
|
|
doxygen $(2)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
actions call-xsltproc
|
|
|
|
|
{
|
|
|
|
|
xsltproc $(2) > $(1)
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-13 09:07:56 +02:00
|
|
|
install stylesheets
|
|
|
|
|
:
|
2023-10-13 09:41:44 +02:00
|
|
|
$(BOOST_ROOT)3rdParty/boost-doc/style/boostbook.css
|
2023-10-13 09:07:56 +02:00
|
|
|
:
|
|
|
|
|
<location>html/
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
explicit stylesheets ;
|
|
|
|
|
|
|
|
|
|
install callouts
|
|
|
|
|
:
|
2023-10-13 09:41:44 +02:00
|
|
|
[ glob $(BOOST_ROOT)3rdParty/boost-doc/style/images/callouts/*.png ]
|
2023-10-13 09:07:56 +02:00
|
|
|
:
|
|
|
|
|
<location>html/images/callouts
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
explicit callout ;
|
|
|
|
|
|
|
|
|
|
install images
|
|
|
|
|
:
|
2023-10-13 09:41:44 +02:00
|
|
|
[ glob $(BOOST_ROOT)3rdParty/boost-doc/style/images/*.png ]
|
2023-10-13 09:07:56 +02:00
|
|
|
:
|
|
|
|
|
<location>html/images
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
explicit images ;
|
|
|
|
|
|
|
|
|
|
xml async_mqtt5_doc
|
|
|
|
|
:
|
|
|
|
|
qbk/00_main.qbk
|
|
|
|
|
:
|
2023-10-24 11:28:19 +02:00
|
|
|
<dependency>reference.qbk
|
2023-10-13 09:07:56 +02:00
|
|
|
<dependency>images
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
explicit async_mqtt5_doc ;
|
|
|
|
|
|
|
|
|
|
boostbook async_mqtt5
|
|
|
|
|
:
|
|
|
|
|
async_mqtt5_doc
|
|
|
|
|
:
|
|
|
|
|
<xsl:param>"boost.root=https://www.boost.org/doc/libs/1_82_0"
|
|
|
|
|
<xsl:param>boost.graphics.root=images/
|
|
|
|
|
<xsl:param>nav.layout=none
|
|
|
|
|
<xsl:param>chapter.autolabel=1
|
|
|
|
|
<xsl:param>chunk.section.depth=8
|
|
|
|
|
<xsl:param>chunk.first.sections=1
|
2023-10-23 15:45:56 +02:00
|
|
|
<xsl:param>toc.section.depth=2
|
|
|
|
|
<xsl:param>toc.max.depth=1
|
2023-10-13 09:07:56 +02:00
|
|
|
<xsl:param>generate.toc="chapter toc,title section nop reference nop part toc"
|
|
|
|
|
<xsl:param>html.stylesheet=boostbook.css
|
|
|
|
|
:
|
|
|
|
|
<dependency>stylesheets
|
|
|
|
|
<dependency>images
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
# These are used to inform the build system of the
|
|
|
|
|
# means to build the integrated and stand-alone docs.
|
|
|
|
|
|
|
|
|
|
alias boostdoc ;
|
|
|
|
|
explicit boostdoc ;
|
|
|
|
|
|
|
|
|
|
alias boostrelease : async_mqtt5 ;
|
|
|
|
|
explicit boostrelease ;
|