-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
43 lines (36 loc) · 1.3 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<project name="CountyRestorationHandbook" default="dist" basedir=".">
<description>
Build tools for processing CountyRestorationHandbook DocBook
</description>
<!-- set global properties for this build -->
<property name="src.dir" location="src"/>
<property name="formatted.dir" location="formatted"/>
<property name="html.dir" location="${formatted}/html"/>
<property name="pdf.dir" location="${formatted}/pdf"/>
<property name="dist.dir" location="dist"/>
<fileset id="xmlinput.files" dir="${src.dir}" includes="**/*.xml"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${formatted.dir}"/>
</target>
<target name="validate" depends="init" >
<xmlvalidate lenient="true">
<fileset refid="xmlinput.files"/>
</xmlvalidate>
</target>
<target name="format" depends="validate"
description="produce formatted output" >
</target>
<target name="dist" depends="format"
description="generate the distribution" >
<!-- Create the distribution directory -->
<mkdir dir="${dist.dir}/lib"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${formatted.dir}"/>
<delete dir="${dist.dir}"/>
</target>
</project>