[apache-mime4j] 06/07: Improved the clean target

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 9 06:25:37 UTC 2014


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

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

commit 18c3a213f028d37c44d0b707774cf52b51575700
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jul 9 01:25:37 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index b740ecf..b9db65f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ apache-mime4j (0.7.2-3) UNRELEASED; urgency=medium
   * debian/rules:
     - Preserve the apache-mime4j-project pom in the binary package
     - Added a get-orig-source target
+    - Improved the clean target
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 07 Jul 2014 14:03:10 +0200
 
diff --git a/debian/rules b/debian/rules
index 5fbe05f..24079f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,9 +48,9 @@ override_dh_auto_install:
 
 override_dh_auto_clean:
 	dh_auto_clean
+	mh_clean
 	mh_unpatchpoms -plibapache-mime4j-java -v
-	-rm -rf target/ */target/
-	-rm -rf debian/.mh/
+	-rm -rf target/ */target/ apidocs
 
 get-orig-source:
 	uscan --force-download --download-current-version --repack --rename

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



More information about the pkg-java-commits mailing list