From: <luc...@us...> - 2003-03-18 21:14:18
|
Update of /cvsroot/zxsync/zXSync/doc In directory sc8-pr-cvs1:/tmp/cvs-serv25429 Modified Files: build.xml Log Message: Use a customized stylesheet. For now, its only purpose is to display the SourceForge.net logo as requested by SourceForge. Index: build.xml =================================================================== RCS file: /cvsroot/zxsync/zXSync/doc/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 2 Mar 2003 16:36:38 -0000 1.4 --- build.xml 18 Mar 2003 21:14:12 -0000 1.5 *************** *** 22,25 **** --- 22,38 ---- </fileset> </copy> + + <!-- copy the stylesheet to a temporary location --> + <copy todir="${docbook_temp}"> + <fileset dir="xsl/html"> + <include name="zxsync.xsl"/> + </fileset> + </copy> + + <!-- replace the stylesheet location --> + <replace file="${docbook_temp}/zxsync.xsl" + token="{docbook-stylesheets}" + value="${stdxsl_location}"> + </replace> </target> *************** *** 46,55 **** <target name="make" depends="validate"> ! <!-- transform the documents to html --> <mkdir dir="${html_output}"/> ! <style basedir="${docbook_temp}" destdir="${html_output}" style="${stdxsl_location}/html/docbook.xsl" extension=".html"> <param name="section.autolabel" expression="1"/> </style> --- 59,73 ---- <target name="make" depends="validate"> ! <!-- transform the documents to html --> <mkdir dir="${html_output}"/> ! <!--<style basedir="${docbook_temp}" destdir="${html_output}" style="${stdxsl_location}/html/docbook.xsl" extension=".html"> <param name="section.autolabel" expression="1"/> + </style>--> + <style basedir="${docbook_temp}" destdir="${html_output}" + style="${docbook_temp}/zxsync.xsl" extension=".html"> + <param name="section.autolabel" expression="1"/> + <patternset refid="docbook.xml"/> </style> |