[med-svn] [libjloda-java] 02/02: Install JAR file

Andreas Tille tille at debian.org
Thu Nov 3 21:03:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libjloda-java.

commit 6cf87f1809e6f5416b417175df8e2cf6c91de6d5
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 3 21:04:14 2016 +0100

    Install JAR file
---
 debian/clean |  1 +
 debian/jlibs |  1 +
 debian/rules | 22 +++++++---------------
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..f96cf97
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+antbuild/jloda.jar
diff --git a/debian/jlibs b/debian/jlibs
new file mode 100644
index 0000000..f96cf97
--- /dev/null
+++ b/debian/jlibs
@@ -0,0 +1 @@
+antbuild/jloda.jar
diff --git a/debian/rules b/debian/rules
index 88d6f05..38d504f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,24 +3,16 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG        := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables, you can
-#  include /usr/share/dpkg/default.mk
-# and use what is set there.
-
 %:
-	dh $@
+	dh $@ --with javahelper
+
+override_dh_clean:
+	dh_clean
+	rm -rf antbuild/doc
+	rm -rf antbuild/class
 
 override_dh_auto_build:
-	ant -buildfile antbuild/build.xml
+	ant -buildfile antbuild/build.xml jar
 
 get-orig-source:
 	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libjloda-java.git



More information about the debian-med-commit mailing list