[mqtt-client] reference generation in Jamfile

Summary: related to T12804

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen

Differential Revision: https://repo.mireo.local/D26233
This commit is contained in:
Korina Šimičević
2023-10-24 11:28:19 +02:00
parent 64cb24dbd6
commit 2f8e788e35
3 changed files with 53 additions and 10 deletions

View File

@ -26,6 +26,57 @@ else if [ os.name ] = LINUX
import boostbook ;
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)
}
install stylesheets
:
$(BOOST_ROOT)3rdParty/boost-doc/style/boostbook.css
@ -57,7 +108,7 @@ xml async_mqtt5_doc
:
qbk/00_main.qbk
:
<dependency>qbk/reference/reference.qbk
<dependency>reference.qbk
<dependency>images
;

View File

@ -1,8 +0,0 @@
#! /bin/bash
doxygen reference.dox
cd xml
xsltproc combine.xslt index.xml > all.xml
cd ..
xsltproc reference.xsl xml/all.xml > qbk/reference/reference.qbk
rm -rf xml

View File

@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
PROJECT_NAME = "async_mqtt5 reference"
PROJECT_NUMBER =
OUTPUT_DIRECTORY = .
OUTPUT_DIRECTORY = ./bin
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES