[jtharness] 09/24: debian/rules: Improved the clean target

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 18 15:54:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jtharness.

commit 506b39c45885c379f08ddcee566909332775490b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 29 20:53:31 2014 +0000

    debian/rules: Improved the clean target
---
 debian/changelog | 1 +
 debian/rules     | 8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bf81c02..3aa35c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ jtharness (4.4.0-MR1-Rel-b19-2) UNRELEASED; urgency=medium
   * Switch to debhelper level 9
   * Use XZ compression for the upstream tarball
   * debian/copyright: Updated the Format URI
+  * debian/rules: Improved the clean target
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 29 Sep 2014 21:50:56 +0200
 
diff --git a/debian/rules b/debian/rules
index 6bbf71f..caa9444 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,12 @@
 
 JAVA_HOME = /usr/lib/jvm/default-java
 
+%:
+	dh $@ --with javahelper
+
 override_dh_auto_build:
 	ant -f build/build.xml
 
-%:
-	dh $@ --with javahelper
+override_dh_auto_clean:
+	rm -Rf jar-build
+	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jtharness.git



More information about the pkg-java-commits mailing list