[lombok-ast] 02/03: Ensure that lombok.ast can be built twice in a row
Markus Koschany
apo-guest at moszumanska.debian.org
Sun Mar 13 17:30:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository lombok-ast.
commit 86de95188351927a156ffab5b6851ae7de9a52e8
Author: Markus Koschany <apo at debian.org>
Date: Sun Mar 13 17:55:52 2016 +0100
Ensure that lombok.ast can be built twice in a row
---
debian/rules | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 60acc11..0591a4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,26 @@
#!/usr/bin/make -f
-include /usr/share/dpkg/default.mk
-
export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@ --parallel --with javahelper,maven_repo_helper
-#override_dh_auto_clean:
-# ant distclean
+override_dh_clean:
+ dh_clean
+ $(RM) -r dist
override_dh_auto_build:
mkdir -p build
+ cp -r src/main main_backup
cp -r lombok.ast_generatedSource/* src/main/
cp -r lombok.ast_generatedSource build
ant dist
+ $(RM) -r src/main
+ mv main_backup src/main
override_jh_linkjars:
- ---jh_linkjars
- ---$(RM) \
+ jh_linkjars
+ $(RM) \
lib/runtime/ant* \
lib/runtime/jsch* \
lib/runtime/ecj* \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lombok-ast.git
More information about the pkg-java-commits
mailing list