--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - Manpages" 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, profile, synop">\r
+ </target>\r
+\r
+ <target name="param">\r
+ <echo>Building Manpages parameters...</echo>\r
+ <antcall target="build-params">\r
+ <param name="condition" value="manpages"/>\r
+ </antcall>\r
+ </target>\r
+\r
+ <target name="profile">\r
+ <echo>Building profiling version of Manpages 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="synop">\r
+ <echo>Building Manpages synopsis stylesheet...</echo>\r
+ <xslt in="synop.xsl" out="html-synop.xsl" style="../tools/xsl/build/html2roff.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
+ <!-- FIXME -->\r
+ </fileset>\r
+ </delete>\r
+ </target>\r
+\r
+</project>\r