04_add_clean_target.diff 838 Bytes
Newer Older
Ryan Kavanagh's avatar
Ryan Kavanagh committed
1 2 3 4 5
Description: Add a clean target
Author: Ryan Kavanagh <ryanakca@kubuntu.org>
Forwarded: not-needed
Origin: vendor
Last-Update: 2011-10-23
Ryan Kavanagh's avatar
Ryan Kavanagh committed
6 7
Index: cronometer/build.xml
===================================================================
Ryan Kavanagh's avatar
Ryan Kavanagh committed
8 9
--- cronometer.orig/build.xml	2011-10-23 11:04:02.758157243 -0400
+++ cronometer/build.xml	2011-10-23 11:04:03.794162376 -0400
Ryan Kavanagh's avatar
Ryan Kavanagh committed
10 11 12 13 14 15 16 17 18 19 20 21 22
@@ -60,6 +60,12 @@
 		</jar>
 	</target>
 
+        <target name="clean" description="clean generated files" >
+                <delete dir="bin" />
+                <delete file="lib/cronometer.jar" />
+                <delete file="lib/docs.jar" />
+        </target>
+
         <!-- Not needed in Debian
 	<target name="launcher" depends="cronometer.jar,docs.jar" description="generate the executable" >
 		<launch4j configFile="release/windows/launch4j.xml" />