[relaxngcc] 02/03: add a clean target to build.xml
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Fri Jan 10 14:46:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository relaxngcc.
commit 4211de78e0b6270c0386504b074a519ff67cc0f5
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date: Fri Jan 10 16:17:43 2014 +0200
add a clean target to build.xml
---
debian/relaxngcc-build.xml | 11 +++++++++++
debian/rules | 2 --
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/relaxngcc-build.xml b/debian/relaxngcc-build.xml
index 09aae45..eca5391 100644
--- a/debian/relaxngcc-build.xml
+++ b/debian/relaxngcc-build.xml
@@ -2,6 +2,17 @@
<project name="relaxngcc" default="jar">
+ <!-- Clean up: -->
+ <target name="clean">
+ <delete dir="bin"/>
+ <delete dir="javadoc"/>
+ <delete dir="lib"/>
+ <delete file="relaxngcc.jar"/>
+ <delete>
+ <fileset dir="src/relaxngcc/javabody/" includes="*.java"/>
+ </delete>
+ </target>
+
<!-- Compile Java source files: -->
<target name="compile">
<mkdir dir="bin"/>
diff --git a/debian/rules b/debian/rules
index 857b5d7..8addf15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,8 +23,6 @@ override_dh_auto_build:
override_dh_auto_clean:
dh_auto_clean
- -rm -rf bin javadoc lib relaxngcc.jar
- -rm -f src/relaxngcc/javabody/*.java
-rm -f build.xml
get-orig-source:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/relaxngcc.git
More information about the pkg-java-commits
mailing list