]> git.lyx.org Git - lyx.git/blob - lib/docbook/xhtml/build.xml
Use same find-dialogs as other bind-files also for x?emacs
[lyx.git] / lib / docbook / xhtml / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="DocBook XSLT 1.0 stylesheets - XHTML" default="all">
3
4   <property name="dbroot.dir" value="${ant.file}/../.."/>
5   <import file="../tools/build-shared.xml"/>
6
7   <target name="all" depends="html2xhtml">
8   </target>
9
10   <target name="html2xhtml">
11     <echo>Building XHTML stylesheets from HTML ones...</echo>
12     <xslt style="html2xhtml.xsl" destdir="." basedir="../html">
13       <factory name="com.icl.saxon.TransformerFactoryImpl"/>
14       <classpath refid="saxon.classpath"/>
15       <include name="*.xsl"/>
16       <mapper type="flatten"/>
17     </xslt>
18     <copy file="../html/docbook.css.xml" todir="."/>
19     <xslt in="../html/docbook.xsl" out="docbook-no-doctype.xsl" style="html2xhtml.xsl">
20       <factory name="com.icl.saxon.TransformerFactoryImpl"/>
21       <classpath refid="saxon.classpath"/>
22       <include name="*.xsl"/>
23       <mapper type="flatten"/>
24       <param name="include.output.doctype" expression="0"/>
25     </xslt>
26
27   </target>
28
29   <target name="clean">
30     <delete>
31       <fileset dir=".">
32         <include name="*.xsl"/>
33         <include name="docbook.css.xml"/>
34         <exclude name="html2xhtml.xsl"/>
35       </fileset>
36     </delete>
37   </target>
38
39 </project>