1<?xml version="1.0" encoding="UTF-8"?>
2<project name="DocBook XSLT 1.0 stylesheets" default="all">
3
4  <!--
5       This is an attempt to rewrite build process in Ant.
6       This is still work in progress.
7
8       If you want to build extensions, you must start Ant with property specifying path to your JDK, for example:
9
10           ant -Dplatform.home=c:\jdk1.6
11
12  -->
13
14  <property name="dbroot.dir" value="${ant.file}/.."/>
15  <import file="tools/build-shared.xml"/>
16
17  <target name="all" depends="build"/>
18
19  <target name="build">
20    <ant dir="common"/>
21    <ant dir="lib"/>
22    <ant dir="html"/>
23    <ant dir="fo"/>
24    <ant dir="manpages"/>
25    <ant dir="htmlhelp"/>
26    <ant dir="javahelp"/>
27    <ant dir="eclipse"/>
28    <!-- FIXME: <ant dir="roundtrip"/> -->
29    <!-- FIXME: <ant dir="slides"/> -->
30    <ant dir="website"/>
31    <ant dir="extensions"/>
32    <ant dir="xhtml"/>
33    <ant dir="xhtml-1_1"/>
34    <!-- <ant dir="webhelp"/> --> <!-- Webhelp is excluded as it builds only demo document not files needed for runtime -->
35    <ant dir="xhtml5"/>
36    <ant dir="epub3"/>
37  </target>
38
39  <target name="clean">
40    <ant dir="common" target="clean"/>
41    <ant dir="lib" target="clean"/>
42    <ant dir="html" target="clean"/>
43    <ant dir="fo" target="clean"/>
44    <ant dir="manpages" target="clean"/>
45    <ant dir="htmlhelp" target="clean"/>
46    <ant dir="javahelp" target="clean"/>
47    <ant dir="eclipse" target="clean"/>
48    <!-- <ant dir="roundtrip" target="clean"/> -->
49    <!-- <ant dir="slides" target="clean"/> -->
50    <ant dir="website" target="clean"/>
51    <ant dir="extensions" target="clean"/>
52    <ant dir="xhtml" target="clean"/>
53    <ant dir="xhtml-1_1" target="clean"/>
54    <!-- <ant dir="webhelp" target="clean"/> -->
55    <ant dir="xhtml5" target="clean"/>
56    <ant dir="epub3" target="clean"/>
57  </target>
58
59</project>
60