Whamcloud - gitweb
LUDOC-11 osc: document tunable parameters
[doc/manual.git] / webhelp / xhtml / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <project name="DocBook XSLT 1.0 stylesheets - XHTML" 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="html2xhtml">\r
8   </target>\r
9 \r
10   <target name="html2xhtml">\r
11     <echo>Building XHTML stylesheets from HTML ones...</echo>\r
12     <xslt style="html2xhtml.xsl" destdir="." basedir="../html">\r
13       <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
14       <classpath refid="saxon.classpath"/>\r
15       <include name="*.xsl"/>\r
16       <mapper type="flatten"/>\r
17     </xslt>\r
18     <copy file="../html/docbook.css.xml" todir="."/>\r
19     <xslt in="../html/docbook.xsl" out="docbook-no-doctype.xsl" style="html2xhtml.xsl">\r
20       <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
21       <classpath refid="saxon.classpath"/>\r
22       <include name="*.xsl"/>\r
23       <mapper type="flatten"/>\r
24       <param name="include.output.doctype" expression="0"/>\r
25     </xslt>\r
26 \r
27   </target>\r
28 \r
29   <target name="clean">\r
30     <delete>\r
31       <fileset dir=".">\r
32         <include name="*.xsl"/>\r
33         <include name="docbook.css.xml"/>\r
34         <exclude name="html2xhtml.xsl"/>\r
35       </fileset>\r
36     </delete>\r
37   </target>\r
38 \r
39 </project>\r