--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - FO" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="param, titlepage, profile">\r
+ </target>\r
+\r
+ <target name="param">\r
+ <echo>Building FO parameters...</echo>\r
+ <antcall target="build-params">\r
+ <param name="condition" value="fo"/>\r
+ </antcall>\r
+ </target>\r
+\r
+ <target name="titlepage">\r
+ <echo>Building FO titlepage...</echo>\r
+ <xslt in="titlepage.templates.xml" out="titlepage.templates.xsl" style="../template/titlepage.xsl">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ </xslt>\r
+ </target>\r
+\r
+ <target name="profile">\r
+ <echo>Building profiling version of FO stylesheet...</echo>\r
+ <xslt in="docbook.xsl" out="profile-docbook.xsl" style="../profiling/xsl2profile.xsl">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ </xslt>\r
+ </target>\r
+\r
+ <target name="clean">\r
+ <delete>\r
+ <fileset dir=".">\r
+ <include name="profile-docbook.xsl"/>\r
+ <include name="titlepage.templates.xsl"/>\r
+ </fileset>\r
+ </delete>\r
+ <antcall target="clean-params"/>\r
+ </target>\r
+\r
+</project>\r