forked from boostorg/mqtt5
[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:
53
doc/Jamfile
53
doc/Jamfile
@ -26,6 +26,57 @@ else if [ os.name ] = LINUX
|
|||||||
|
|
||||||
import boostbook ;
|
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
|
install stylesheets
|
||||||
:
|
:
|
||||||
$(BOOST_ROOT)3rdParty/boost-doc/style/boostbook.css
|
$(BOOST_ROOT)3rdParty/boost-doc/style/boostbook.css
|
||||||
@ -57,7 +108,7 @@ xml async_mqtt5_doc
|
|||||||
:
|
:
|
||||||
qbk/00_main.qbk
|
qbk/00_main.qbk
|
||||||
:
|
:
|
||||||
<dependency>qbk/reference/reference.qbk
|
<dependency>reference.qbk
|
||||||
<dependency>images
|
<dependency>images
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -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
|
|
@ -5,7 +5,7 @@
|
|||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
PROJECT_NAME = "async_mqtt5 reference"
|
PROJECT_NAME = "async_mqtt5 reference"
|
||||||
PROJECT_NUMBER =
|
PROJECT_NUMBER =
|
||||||
OUTPUT_DIRECTORY = .
|
OUTPUT_DIRECTORY = ./bin
|
||||||
CREATE_SUBDIRS = NO
|
CREATE_SUBDIRS = NO
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
BRIEF_MEMBER_DESC = YES
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
Reference in New Issue
Block a user