mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed documentation generation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@741 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
0ea1644f9e
commit
0ba45baa19
3 changed files with 13 additions and 6 deletions
|
|
@ -6,8 +6,7 @@
|
||||||
# accompanying file LICENSE_1_0.txt or copy at
|
# accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt)
|
# http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
import path ;
|
using boostbook ;
|
||||||
using boostbook : : : [ path.pwd ] ;
|
|
||||||
using quickbook ;
|
using quickbook ;
|
||||||
using doxygen ;
|
using doxygen ;
|
||||||
|
|
||||||
|
|
@ -32,6 +31,7 @@ boostbook standalone
|
||||||
mock
|
mock
|
||||||
:
|
:
|
||||||
# <dependency>reference
|
# <dependency>reference
|
||||||
|
<xsl:param>boost.root=../../../..
|
||||||
<xsl:param>boost.image.src=images/boost.png
|
<xsl:param>boost.image.src=images/boost.png
|
||||||
<xsl:param>chunk.first.sections=1
|
<xsl:param>chunk.first.sections=1
|
||||||
# <xsl:param>toc.max.depth=3
|
# <xsl:param>toc.max.depth=3
|
||||||
|
|
@ -39,6 +39,7 @@ boostbook standalone
|
||||||
<xsl:param>nav.layout=horizontal
|
<xsl:param>nav.layout=horizontal
|
||||||
;
|
;
|
||||||
|
|
||||||
|
# not needed anymore once in boost
|
||||||
project example
|
project example
|
||||||
: requirements
|
: requirements
|
||||||
<include>../../../../..
|
<include>../../../../..
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
<property name="boost.root" value="${env.BOOST_ROOT}"/>
|
<property name="boost.root" value="${env.BOOST_ROOT}"/>
|
||||||
<property name="boost.dir" value="${out.dir}/../boost"/>
|
<property name="boost.dir" value="${out.dir}/../boost"/>
|
||||||
|
<property name="boostbook.dir" value="${out.dir}/boostbook"/>
|
||||||
|
|
||||||
<target name="clean" description="clean intermediate build artifacts">
|
<target name="clean" description="clean intermediate build artifacts">
|
||||||
<delete dir="${out.dir}"/>
|
<delete dir="${out.dir}"/>
|
||||||
|
|
@ -143,9 +144,12 @@
|
||||||
<copy todir="${boost.dir}/boost/mock">
|
<copy todir="${boost.dir}/boost/mock">
|
||||||
<fileset dir="${libraries.dir}/turtle" includes="**"/>
|
<fileset dir="${libraries.dir}/turtle" includes="**"/>
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${boost.dir}/libs/mock/doc">
|
<copy todir="${boostbook.dir}">
|
||||||
<fileset dir="${boost.root}/tools/boostbook" includes="xsl/**,dtd/**"/>
|
<fileset dir="${boost.root}/tools/boostbook" includes="xsl/**,dtd/**"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${boostbook.dir}" overwrite="true">
|
||||||
|
<fileset dir="boostbook"/>
|
||||||
|
</copy>
|
||||||
<copy todir="${boost.dir}/libs/mock/doc/html">
|
<copy todir="${boost.dir}/libs/mock/doc/html">
|
||||||
<fileset dir="${boost.root}/doc/src" includes="**/*.css,**/**.png"/>
|
<fileset dir="${boost.root}/doc/src" includes="**/*.css,**/**.png"/>
|
||||||
<fileset dir="boost/doc" includes="images/*.png"/>
|
<fileset dir="boost/doc" includes="images/*.png"/>
|
||||||
|
|
@ -213,8 +217,8 @@
|
||||||
<replaceregexp match="\[include changelog.qbk\]" replace="" flags="g">
|
<replaceregexp match="\[include changelog.qbk\]" replace="" flags="g">
|
||||||
<fileset dir="${boost.dir}/libs/mock" includes="**/mock.qbk"/>
|
<fileset dir="${boost.dir}/libs/mock" includes="**/mock.qbk"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<copy todir="${boost.dir}/libs/mock/doc" overwrite="true">
|
<copy todir="${boostbook.dir}" overwrite="true">
|
||||||
<fileset dir="${boost.root}/tools/boostbook" includes="xsl/navbar.xsl"/>
|
<fileset dir="${boost.root}/tools/boostbook" includes="xsl/**,dtd/**"/>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
@ -223,7 +227,9 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="boost.doc" description="generate boost.mock documentation in ${boost.dir}">
|
<target name="boost.doc" description="generate boost.mock documentation in ${boost.dir}">
|
||||||
<b2 dir="${boost.dir}/libs/mock/doc"/>
|
<b2 dir="${boost.dir}/libs/mock/doc">
|
||||||
|
<env key="BOOSTBOOK_DIR" value="${boostbook.dir}"/>
|
||||||
|
</b2>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="boost.package" description="package boost.mock">
|
<target name="boost.package" description="package boost.mock">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue