<ant dir="extensions"/>\r
<ant dir="xhtml"/>\r
<ant dir="xhtml-1_1"/>\r
- <ant dir="webhelp"/>\r
+ <!-- <ant dir="webhelp"/> --> <!-- Webhelp is excluded as it builds only demo document not files needed for runtime -->\r
<ant dir="xhtml5"/>\r
<ant dir="epub3"/>\r
</target>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - EPUB3" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="titlepage">\r
+ </target>\r
+\r
+ <target name="titlepage">\r
+ <echo>Building EPUB3 titlepage...</echo>\r
+ <xslt in="titlepage.templates.xml" out="titlepage.templates.xsl" style="../template/titlepage.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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - XHTML" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="html2xhtml">\r
+ </target>\r
+\r
+ <target name="html2xhtml">\r
+ <echo>Building XHTML 1.1 stylesheets from HTML ones...</echo>\r
+ <xslt style="html2xhtml.xsl" destdir="." basedir="../html">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ <include name="*.xsl"/>\r
+ <mapper type="flatten"/>\r
+ </xslt>\r
+ <copy file="../html/docbook.css.xml" todir="."/>\r
+ <xslt in="../html/docbook.xsl" out="docbook-no-doctype.xsl" style="html2xhtml.xsl">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ <include name="*.xsl"/>\r
+ <mapper type="flatten"/>\r
+ <param name="include.output.doctype" expression="0"/>\r
+ </xslt>\r
+\r
+ </target>\r
+\r
+ <target name="clean">\r
+ <delete>\r
+ <fileset dir=".">\r
+ <include name="*.xsl"/>\r
+ <include name="docbook.css.xml"/>\r
+ <exclude name="html2xhtml.xsl"/>\r
+ </fileset>\r
+ </delete>\r
+ </target>\r
+\r
+</project>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - XHTML" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="html2xhtml">\r
+ </target>\r
+\r
+ <target name="html2xhtml">\r
+ <echo>Building XHTML stylesheets from HTML ones...</echo>\r
+ <xslt style="html2xhtml.xsl" destdir="." basedir="../html">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ <include name="*.xsl"/>\r
+ <mapper type="flatten"/>\r
+ </xslt>\r
+ <copy file="../html/docbook.css.xml" todir="."/>\r
+ <xslt in="../html/docbook.xsl" out="docbook-no-doctype.xsl" style="html2xhtml.xsl">\r
+ <factory name="com.icl.saxon.TransformerFactoryImpl"/>\r
+ <classpath refid="saxon.classpath"/>\r
+ <include name="*.xsl"/>\r
+ <mapper type="flatten"/>\r
+ <param name="include.output.doctype" expression="0"/>\r
+ </xslt>\r
+\r
+ </target>\r
+\r
+ <target name="clean">\r
+ <delete>\r
+ <fileset dir=".">\r
+ <include name="*.xsl"/>\r
+ <include name="docbook.css.xml"/>\r
+ <exclude name="html2xhtml.xsl"/>\r
+ </fileset>\r
+ </delete>\r
+ </target>\r
+\r
+</project>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project name="DocBook XSLT 1.0 stylesheets - HTML5" default="all">\r
+\r
+ <property name="dbroot.dir" value="${ant.file}/../.."/>\r
+ <import file="../tools/build-shared.xml"/>\r
+\r
+ <target name="all" depends="html5">\r
+ </target>\r
+\r
+ <target name="html5">\r
+ <echo>Building HTML5 stylesheet...</echo>\r
+ <xslt in="../xhtml/docbook.xsl" out="xhtml-docbook.xsl" style="xhtml2xhtml5.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