[bnd] 04/04: Ensure that bnd can be built twice in a row and remove all class and jar files
Markus Koschany
apo-guest at moszumanska.debian.org
Mon May 18 19:33:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository bnd.
commit e7dcf31e5c0047f68b8021680ee233c6be62c7f3
Author: Markus Koschany <apo at gambaru.de>
Date: Mon May 18 19:55:51 2015 +0200
Ensure that bnd can be built twice in a row and remove all class and jar files
in subsequent runs.
---
debian/changelog | 2 ++
debian/rules | 8 +++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 14640a7..5531209 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,8 @@ bnd (2.1.0-1) experimental; urgency=medium
* Update bnd.pod for new release. Mention new or different commands.
Remove Authors paragraph since all copyright holders are already credited
in debian/copyright.
+ * debian/rules: Update clean target. Ensure that bnd can be built twice in a row
+ and remove all class and jar files in subsequent runs.
-- Markus Koschany <apo at gambaru.de> Sun, 17 May 2015 23:36:37 +0200
diff --git a/debian/rules b/debian/rules
index e0403d8..46882c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -116,7 +116,13 @@ clean::
-rm -f debian/stamp-bootstrap
-rm -rf biz.aQute.repository
-rm -rf biz.aQute.resolve
- -find -type l -name '*.jar' | xargs rm
+ -rm -rf biz.aQute.bndlib/bin
+ -rm -rf biz.aQute.bndlib/generated
+ -rm -rf biz.aQute.junit/generated
+ -rm -rf biz.aQute.launcher/bin
+ -rm -rf biz.aQute.launcher/generated
+ -find . -type l -name '*.jar' -delete
+ -find . -type f \( -name '*.jar' -o -name '*.class' -o -name 'packageinfo' \) -delete
jh_clean
mh_clean
-rm -rf install/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bnd.git
More information about the pkg-java-commits
mailing list