summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorxue <>2006-10-18 01:38:47 +0000
committerxue <>2006-10-18 01:38:47 +0000
commitaf832a5a9018c7dcc2f24111d82049902269fc53 (patch)
treeb66193de9e7b75c916a92d6c951a22a90d85fed6 /build.xml
parent459bb9c618a8f2897da22129167e634589435e38 (diff)
merge from 3.0 branch till 1463.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml29
1 files changed, 19 insertions, 10 deletions
diff --git a/build.xml b/build.xml
index e0bb733f..dd29c547 100644
--- a/build.xml
+++ b/build.xml
@@ -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">