Imported Upstream version 1.79.2
[platform/upstream/docbook-xsl-stylesheets.git] / fo / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <project name="DocBook XSLT 1.0 stylesheets - FO" default="all">\r
3 \r
4   <property name="dbroot.dir" value="${ant.file}/../.."/>\r
5   <import file="../tools/build-shared.xml"/>\r
6 \r
7   <target name="all" depends="param, titlepage, profile">\r
8   </target>\r
9 \r
10   <target name="param">\r
11     <echo>Building FO parameters...</echo>\r
12     <antcall target="build-params">\r
13       <param name="condition" value="fo"/>\r
14     </antcall>\r
15   </target>\r
16 \r
17   <target name="titlepage">\r
18     <echo>Building FO titlepage...</echo>\r
19     <xslt in="titlepage.templates.xml" out="titlepage.templates.xsl" style="../template/titlepage.xsl">\r
20       <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
21       <classpath refid="saxon.classpath"/>\r
22     </xslt>\r
23   </target>\r
24 \r
25   <target name="profile">\r
26     <echo>Building profiling version of FO stylesheet...</echo>\r
27     <xslt in="docbook.xsl" out="profile-docbook.xsl" style="../profiling/xsl2profile.xsl">\r
28       <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
29       <classpath refid="saxon.classpath"/>\r
30     </xslt>\r
31   </target>\r
32 \r
33   <target name="clean">\r
34     <delete>\r
35       <fileset dir=".">\r
36         <include name="profile-docbook.xsl"/>\r
37         <include name="titlepage.templates.xsl"/>\r
38       </fileset>\r
39     </delete>\r
40     <antcall target="clean-params"/>\r
41   </target>\r
42 \r
43 </project>\r