mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Copying boost css and images to doc output
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@554 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
25ccf6078f
commit
2f892f596b
1 changed files with 18 additions and 14 deletions
|
|
@ -118,44 +118,48 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<property name="boost.dir" value="${out.dir}/../boost"/>
|
<property name="boost.dir" value="${out.dir}/../boost"/>
|
||||||
|
|
||||||
<target name="boost" description="convert to boost">
|
<target name="boost" description="convert to boost">
|
||||||
<delete dir="${boost.dir}"/>
|
<delete dir="${boost.dir}"/>
|
||||||
<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">
|
<copy todir="${boost.dir}/libs/mock">
|
||||||
<fileset dir="${tests.dir}" includes="test/**"/>
|
<fileset dir="${tests.dir}" includes="test/**"/>
|
||||||
<fileset dir="boost" includes="test/**,doc/**,index.html"/>
|
<fileset dir="boost" includes="test/**,doc/**,index.html"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${boost.dir}/libs/mock/doc/html">
|
||||||
|
<fileset dir="${env.BOOST_ROOT}/doc/src"/>
|
||||||
|
</copy>
|
||||||
<copy todir="${boost.dir}">
|
<copy todir="${boost.dir}">
|
||||||
<fileset dir="boost" includes="LICENSE_1_0.txt,Jamroot.jam,Jamfile.v2"/>
|
<fileset dir="boost" includes="LICENSE_1_0.txt,Jamroot.jam,Jamfile.v2"/>
|
||||||
</copy>
|
</copy>
|
||||||
<replaceregexp match="MOCK" replace="BOOST_MOCK" flags="g">
|
<replaceregexp match="MOCK" replace="BOOST_MOCK" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="BOOST_MOCK_BOOST_MOCK" replace="BOOST_MOCK" flags="g">
|
<replaceregexp match="BOOST_MOCK_BOOST_MOCK" replace="BOOST_MOCK" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match='"([^"]+\.hpp)"' replace="<boost/mock/\1>" flags="g">
|
<replaceregexp match='"([^"]+\.hpp)"' replace="<boost/mock/\1>" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match='"\.\./([^"]+\.hpp)"' replace="<boost/mock/\1>" flags="g">
|
<replaceregexp match='"\.\./([^"]+\.hpp)"' replace="<boost/mock/\1>" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="<turtle/([^>]+)" replace="<boost/mock/\1" flags="g">
|
<replaceregexp match="<turtle/([^>]+)" replace="<boost/mock/\1" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="(namespace mock)" replace="namespace boost${line.separator}{${line.separator}\1" flags="g">
|
<replaceregexp match="(namespace mock)" replace="namespace boost${line.separator}{${line.separator}\1" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="} // mock" replace="}${line.separator}}" flags="g">
|
<replaceregexp match="} // mock" replace="}${line.separator}}" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="( mock::)" replace=" boost::mock::" flags="g">
|
<replaceregexp match="( mock::)" replace=" boost::mock::" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
<replaceregexp match="http://turtle.sourceforge.net" replace="Boost.Mock" flags="g">
|
<replaceregexp match="http://turtle.sourceforge.net" replace="Boost.Mock" flags="g">
|
||||||
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue