lfs-ru/stylesheets/lfs-xsl/docbook-xsl-1.79.1/fo/build.xml

44 lines
1.3 KiB
XML
Raw Normal View History

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