[lombok] 09/10: Ensure that lombok can be built twice in a row.
Markus Koschany
apo at moszumanska.debian.org
Sat Apr 2 08:30:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository lombok.
commit bead6201c3ed62514fa278c62e0c4deb54d2354f
Author: Markus Koschany <apo at debian.org>
Date: Sat Apr 2 09:50:39 2016 +0200
Ensure that lombok can be built twice in a row.
Replace override for dh_auto_clean with dh_clean.
---
debian/changelog | 1 +
debian/rules | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 26d19b5..6a7a11e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ lombok (1.16.8+ds-1) unstable; urgency=medium
* Remove B-D ivy.
* Add new build-dependency libecj-java but do not include it in lombok.jar.
* Update debian/copyright for new release. The GPL-2 licensed class is gone.
+ * Ensure that lombok can be built twice in a row.
-- Markus Koschany <apo at debian.org> Fri, 01 Apr 2016 21:08:51 +0200
diff --git a/debian/rules b/debian/rules
index a2c3369..ef4627f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,10 @@ export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@ --parallel --with javahelper,maven_repo_helper
-override_dh_auto_clean:
- dh_auto_clean
- ant -Dbasedir=$(CURDIR) clean
+override_dh_clean:
+ dh_clean
+ $(RM) dist/*.jar
+ $(RM) -r doc/api
override_dh_auto_build:
ant -Dbasedir=$(CURDIR) \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lombok.git
More information about the pkg-java-commits
mailing list