[plexus-classworlds2] 05/06: debian/rules: Improved the clean target to allow rebuilds

Emmanuel Bourg ebourg-guest at alioth.debian.org
Wed Oct 23 08:52:25 UTC 2013


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

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

commit 088ccc23c3d913d56e5775171a4f0d905b3daff6
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Oct 23 10:47:54 2013 +0200

    debian/rules: Improved the clean target to allow rebuilds
---
 debian/changelog |    1 +
 debian/rules     |    5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ab5ccf5..ff26b80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ plexus-classworlds2 (2.4-2) UNRELEASED; urgency=low
     - Updated Standards-Version to 3.9.4 (no changes)
   * Build depend on debhelper >= 9
   * debian/copyright: Updated to the Copyright Format 1.0
+  * debian/rules: Improved the clean target to allow rebuilds
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 23 Oct 2013 00:42:07 +0200
 
diff --git a/debian/rules b/debian/rules
index 97c8c1b..c61b3d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,10 @@ export ANT_ARGS=-Dbasedir=$(realpath .) -Dpackage=$(DEB_SOURCE_PACKAGE) -f /usr/
 %:
 	dh $@ --buildsystem=ant --with maven_repo_helper
 
+override_dh_auto_clean:
+	mh_clean
+	mh_unpatchpoms -plibplexus-classworlds2-java
+	rm -Rf target debian/plexus-classworlds2-doc
+
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

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



More information about the pkg-java-commits mailing list