diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-26 18:17:26 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-26 18:17:26 +0200 |
commit | 189449c0d73a88ae87569cb9427fcd7dc6142c62 (patch) | |
tree | 6736354f8658be44c19504a6a346b355fbf8c713 /build.xml | |
parent | 7820014667f04d5d0a9c2f6913b3d3fb261f1b07 (diff) | |
download | semanticscuttle-189449c0d73a88ae87569cb9427fcd7dc6142c62.tar.gz semanticscuttle-189449c0d73a88ae87569cb9427fcd7dc6142c62.tar.bz2 |
doc building works now
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -214,13 +214,20 @@ <include name="doc/ChangeLog"/> <include name="doc/**.txt"/> <include name="doc/**.rst"/> + <include name="doc/**/*.rst"/> </fileset> </foreach> </target> <target name="build-doc-file" depends="check"> <echo msg="${fname}"/> - <exec command="rst2html ${fname} > dist/${fname}.html" checkreturn="1"/> + <php function="preg_replace" returnProperty="outfile"> + <param value="/^(.+)(.rst|.txt)$/"/> + <param value="\1.html"/> + <param value="${fname}"/> + </php> + <!--<echo msg="${fname} - ${outfile}"/>--> + <exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/> </target> @@ -334,6 +341,7 @@ <mkdir dir="dist" /> <mkdir dir="dist/doc" /> + <mkdir dir="dist/doc/developers" /> </target> </project> |