[geotools] 01/09: Basic rules

Alastair McKinstry mckinstry at moszumanska.debian.org
Mon Oct 23 12:07:30 UTC 2017


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

mckinstry pushed a commit to branch ichec/master
in repository geotools.

commit cc4a260b88a8bd6bd9a9c31b7cf5279c01244214
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Sep 12 15:30:14 2017 +0100

    Basic rules
---
 debian/rules | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5eb6280..a910418 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_SOURCE_PACKAGE   := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//')
-
-export JAVA_HOME=/usr/lib/jvm/default-java
-export CLASSPATH=$(shell for jar in `cat debian/build-classpath`; do if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; done)
-export ANT_ARGS=-Dbasedir=$(realpath .) -Dpackage=$(DEB_SOURCE_PACKAGE) -Dversion=$(DEB_UPSTREAM_VERSION) -f debian/build.xml
+export DH_VERBOSE=1
 
 %:
-	dh $@ --buildsystem=ant --with maven_repo_helper
+	dh $@ 
 
 get-orig-source:
 	uscan --download-current-version --force-download --rename

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



More information about the pkg-java-commits mailing list