[med-svn] [bbmap] 01/01: Make better use of javahelper according to https://lists.debian.org/debian-java/2016/03/msg00035.html
Andreas Tille
tille at debian.org
Sun Mar 20 16:54:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository bbmap.
commit ee4e5e50e8c86c50d6c161fa29e0188e0f410140
Author: Andreas Tille <tille at debian.org>
Date: Sun Mar 20 17:54:35 2016 +0100
Make better use of javahelper according to https://lists.debian.org/debian-java/2016/03/msg00035.html
---
debian/rules | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 440e01b..8c2bad5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,9 @@
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-JAVA_HOME := /usr/lib/jvm/default-java
+export JAVA_HOME := /usr/lib/jvm/default-java
DEBJAR := /usr/share/java
-CLASS_PATH := $(DEBJAR)/mpj.jar
+export CLASSPATH := $(DEBJAR)/mpj.jar
%:
dh $@ --with javahelper
@@ -19,6 +19,5 @@ override_dh_clean:
find . -name "*.class" -delete
override_dh_auto_build:
- echo "Manual build"
- javac -classpath $(CLASS_PATH) `find current -name "*.java"` && \
- jar -cmf debian/manifest $(DEBPKGNAME).jar `find current -name "*.class"`
+ jh_build $(DEBPKGNAME).jar current
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bbmap.git
More information about the debian-med-commit
mailing list