[SCM] Debian packaging for swt-gtk. branch, master-3.8, updated. debian/3.8.0_rc2-1-3-g547d8e6
Niels Thykier
niels at thykier.net
Mon Jun 18 08:09:17 UTC 2012
The following commit has been merged in the master-3.8 branch:
commit 547d8e684e7c6282a0f820a71feb047cf94f94c7
Author: Niels Thykier <niels at thykier.net>
Date: Mon Jun 18 10:08:37 2012 +0200
d/Makefile: Use grep + xargs
Its faster and shorter - whats not to love?
Signed-off-by: Niels Thykier <niels at thykier.net>
diff --git a/debian/Makefile b/debian/Makefile
index aea45d7..fa662ee 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -22,17 +22,8 @@ swt-gtk-$(RELEASE).files:
%-stamp: %.files
mkdir -p $*
- for i in `cat $<`; do \
- if [ "$${i##*.}" = "properties" ]; then \
- echo cp $$i $*/$$i; \
- cp $$i $*/$$i; \
- elif [ -e $*/$${i%java}class ]; then \
- echo SKIPPING $$i; \
- else \
- echo $(JAVAC) -d $* $$i; \
- $(JAVAC) -d $* $$i || exit $$?; \
- fi \
- done
+ grep \.java $< | xargs -r $(JAVAC) -d $*
+ grep \.properties $< | xargs -r cp --parents -t $*
touch $@
%.jar: %-stamp
--
Debian packaging for swt-gtk.
More information about the pkg-java-commits
mailing list