diff options
author | wei <> | 2006-10-12 07:30:33 +0000 |
---|---|---|
committer | wei <> | 2006-10-12 07:30:33 +0000 |
commit | 5abdafeb9ded0c1c41992f7b3758f1dc02255683 (patch) | |
tree | c5c344f0285e9b5dcd540eeaa1a701f47e14b4bb /build.xml | |
parent | de630e4134484cea82fd0a1864a45db3bd9974bc (diff) |
add unified chm build (quickstart + API + classdocs + wiki)
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -160,7 +160,9 @@ <target name="rebuild" depends="clean,build" /> <target name="docs"> - <echo>Building quickstart.pdf...</echo> + <echo>Build PDF + CHM + HTML Docs, it may take about 30 mins</echo> + + <echo>Building quickstart.pdf...</echo> <delete> <fileset dir="."> <include name="buildscripts/texbuilder/*.aux" /> @@ -172,26 +174,33 @@ <exec command="${pdflatex} quickstart.tex -interaction=nonstopmode -max-print-line=120" dir="buildscripts/texbuilder" passthru="true"/> <move file="buildscripts/texbuilder/quickstart.pdf" todir="${build.doc.dir}"/> - <echo>Building API manuals...</echo> + <echo>Building API manuals...</echo> <delete dir="${build.doc.dir}/manual"/> <mkdir dir="${build.doc.dir}/manual" /> <prado-doc phpdoc="${php} buildscripts/PhpDocumentor/phpdoc" title="PRADO v${prado.version} API Manual" destdir="${build.doc.dir}/manual" sourcepath="framework" - ignorelist="*pradolite.php,*3rdParty/*,*Javascripts/*,*I18N/core/*" - output="HTML:frames:default,CHM:default:default,HTML:Smarty:PradoSoft" /> - <!-- generate CHM file --> + ignorelist="*pradolite.php,*prado-cli.php,*3rdParty/*,*Javascripts/*,*I18N/core/*" + output="CHM:default:default,HTML:Smarty:PradoSoft" /> + + <echo>Indexing API manuals...</echo> + <prado-api-index docdir="${build.doc.dir}/manual/HTMLSmartyConverter" todir="${build.doc.dir}/manual/HTMLSmartyConverter" /> + + <copy file="buildscripts/index/search.php" todir="${build.doc.dir}/manual/HTMLSmartyConverter" /> + + <exec command="${php} build.php" dir="buildscripts/classtree" passthru="true"/> + + <echo>Generating CHM Content (Quickstart + ClassDocs)</echo> + <exec command="${php} build.php" dir="buildscripts/chmbuilder" passthru="true"/> + <echo>Generating CHM Content (WIKI)</echo> + <exec command="${php} build.php" dir="buildscripts/wikibuilder" passthru="true"/> <if> <equals arg1="${prado.winbuild}" arg2="true"/> <then> - <exec command="${hhc} ${build.doc.dir}/manual/CHMdefaultConverter/phpdoc.hhp" /> + <exec command="${hhc} ${build.doc.dir}/prado3_manual.hhp" /> </then> </if> - - <echo>Indexing API manuals...</echo> - <prado-api-index docdir="${build.doc.dir}/manual/HTMLSmartyConverter" todir="${build.doc.dir}/manual/HTMLSmartyConverter" /> - <copy file="buildscripts/index/search.php" todir="${build.doc.dir}/manual/HTMLSmartyConverter" /> </target> <target name="dist" depends="rebuild,docs"> |