From: <be...@us...> - 2003-11-12 10:12:26
|
Update of /cvsroot/proxool/proxool-doc In directory sc8-pr-cvs1:/tmp/cvs-serv3621 Modified Files: build.xml Log Message: First cut of Website targets in build.xml, with necessary changes and a new layout file Index: build.xml =================================================================== RCS file: /cvsroot/proxool/proxool-doc/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 27 Feb 2003 02:42:51 -0000 1.1 --- build.xml 12 Nov 2003 10:12:03 -0000 1.2 *************** *** 17,20 **** --- 17,21 ---- <property name="docbook.dtd.version" value="4.2"/> <property name="docbook.xsl.version" value="1.60.1"/> + <property name="website.version" value="2.5.0"/> <xmlcatalog id="docbook"> *************** *** 27,31 **** <!-- ======================== Target: Prepare ========================= --> ! <target name="prepare" description="Prepares the project build environment."> --- 28,34 ---- <!-- ======================== Target: Prepare ========================= --> ! <target name="prepare"/> ! ! <target name="sprepare" description="Prepares the project build environment."> *************** *** 39,42 **** --- 42,49 ---- <unzip src="${lib.home}/docbook-xsl-${docbook.xsl.version}.zip" dest="${build.home}"/> + + <unzip src="${lib.home}/website-${website.version}.zip" + dest="${build.home}"/> + </target> *************** *** 55,58 **** --- 62,96 ---- + </target> + + <target name="generate.website-autolayout" + description="Generates the autolayout file used in the Website generation" + > + <xslt basedir="${src.docs}" + in="${src.docs}/layout.xml" + out="${build.home}/website-xsl/autolayout.xml" + style="${build.home}/website-${website.version}/xsl/autolayout.xsl"> + <xmlcatalog refid="docbook"/> + </xslt> + <copy todir="${build.home}/website-xsl"> + <fileset dir="${src.docs}"> + <include name="**/*.xml"/> + </fileset> + </copy> + + </target> + + <target name="generate.website" depends="generate.website-autolayout" + description="Generates the HTML website using the Website Tabular style" + > + <xslt + basedir="${build.home}/website-xsl" + style="${build.home}/website-${website.version}/xsl/tabular.xsl" + excludes="autolayout.xml" + destdir="${build.home}/website/html" + extension=".html" + followsymlinks="false" + > + </xslt> </target> |