--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - HTML" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="lib">\r
+ </target>\r
+\r
+ <target name="lib">\r
+ <echo>Building XSLT library...</echo>\r
+ <antcall target="build-params">\r
+ <param name="condition" value="lib"/>\r
+ <param name="file" value="lib"/>\r
+ </antcall>\r
+ </target>\r
+\r
+ <target name="clean">\r
+ <antcall target="clean-params">\r
+ <param name="file" value="lib"/>\r
+ </antcall>\r
+ </target>\r
+\r
+</project>\r
</taskdef>\r
\r
<target name="build-params">\r
+ <property name="file" value="param"/>\r
<!-- FIXME parameter checking -->\r
- <xslt in="param.xweb" out=".param.profiled" style="../profiling/profile.xsl">\r
+ <xslt in="${file}.xweb" out=".${file}.profiled" style="../profiling/profile.xsl">\r
<factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
<classpath refid="saxon.classpath"/>\r
<param name="profile.condition" expression="${condition}"/>\r
</xslt>\r
- <xslt in=".param.profiled" out=".param.stripped" style="../profiling/strip-attributes.xsl">\r
+ <xslt in=".${file}.profiled" out=".${file}.stripped" style="../profiling/strip-attributes.xsl">\r
<factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
<classpath refid="saxon.classpath"/>\r
<param name="attributes" expression="condition"/>\r
</xslt>\r
- <xslt in=".param.stripped" out=".param.dbkns" style="../../releasetools/xtangle.xsl">\r
+ <xslt in=".${file}.stripped" out=".${file}.dbkns" style="../../releasetools/xtangle.xsl">\r
<factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
<classpath refid="saxon.classpath"/>\r
</xslt>\r
- <xslt in=".param.dbkns" out="param.xsl.tmp" style="../tools/xsl/build/fix-params-ns.xsl">\r
+ <xslt in=".${file}.dbkns" out="${file}.xsl.tmp" style="../tools/xsl/build/fix-params-ns.xsl">\r
<factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
<classpath refid="saxon.classpath"/>\r
</xslt>\r
- <xslt in="param.xsl.tmp" out="param.xsl" style="../tools/xsl/build/addnewline.xsl">\r
+ <xslt in="${file}.xsl.tmp" out="${file}.xsl" style="../tools/xsl/build/addnewline.xsl">\r
<factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
<classpath refid="saxon.classpath"/>\r
</xslt>\r
</target>\r
\r
<target name="clean-params">\r
+ <property name="file" value="param"/>\r
<delete>\r
<fileset dir=".">\r
- <include name=".param.profiled"/>\r
- <include name=".param.stripped"/>\r
- <include name=".param.dbkns"/>\r
- <include name="param.xsl.tmp"/>\r
- <include name="param.xsl"/>\r
+ <include name=".${file}.profiled"/>\r
+ <include name=".${file}.stripped"/>\r
+ <include name=".${file}.dbkns"/>\r
+ <include name="${file}.xsl.tmp"/>\r
+ <include name="${file}.xsl"/>\r
</fileset>\r
</delete>\r
</target>\r