summaryrefslogtreecommitdiff
path: root/dev-java/jtidy/files/jtidy-1.0-build.xml.patch
blob: ba5e04a7f9769126f0332d768d8f0e69bc8307a3 (plain)
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
--- a/build.xml.orig	2015-12-01 21:10:36.689000000 +0000
+++ b/build.xml	2015-12-01 21:11:05.642000000 +0000
@@ -9,11 +9,7 @@
 	<property name="srczip" value="jtidy-${version}-sources.zip"/>
 	<property name="allzip" value="jtidy-${version}.zip"/>
 	
-	<target name="clean">
-		<delete dir="${target}"/>
-	</target>
-	
-	<target name="jar" depends="clean">
+  <target name="jar">
 		<mkdir dir="${target}"/>
 		<mkdir dir="${bin}"/>
 		<javac srcdir="${src}" destdir="${bin}" source="1.4" target="1.4"/>
@@ -30,13 +26,13 @@
 		</jar>
 	</target>
 	
-	<target name="javadoc" depends="clean">
+  <target name="javadoc">
 		<javadoc sourcepath="${src}" destdir="${target}/${doc}" windowtitle=" JTidy ${version} " doctitle="JTidy ${version} API documentation">
 			<tag name="todo" scope="all" description="To do:"/>
 		</javadoc>
 	</target>
 	
-	<target name="src" depends="clean">
+  <target name="src">
 		<zip destfile="${target}/${srczip}">
 			<fileset dir=".">
 				<include name="${src}/**"/>