[gant] 14/51: bugfix

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jul 31 12:07:09 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository gant.

commit 9efb65749aef6cc6e1c57f405774e6f1b9b58f72
Author: Torsten Werner <twerner at debian.org>
Date:   Sat Nov 8 18:57:27 2008 +0000

    bugfix
---
 debian/rules | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index acdef33..15a5c57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,12 +4,13 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-JAVA_HOME 		:= /usr/lib/jvm/java-gcj
-DEB_ANT_BUILD_TARGET	:= package
+JAVA_HOME 	     := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET := package
+UPSTREAM_VERSION     := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e's,+dak.*,,')
 
 install/gant::
-	dh_install target/gant-$(DEB_UPSTREAM_VERSION).jar /usr/share/groovy/lib/
-	dh_link /usr/share/groovy/lib/gant-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/gant.jar
+	dh_install target/gant-$(UPSTREAM_VERSION).jar /usr/share/groovy/lib/
+	dh_link /usr/share/groovy/lib/gant-$(UPSTREAM_VERSION).jar /usr/share/java/gant.jar
 	install -D -m755 debian/gant.sh $(DEB_DESTDIR)/usr/share/groovy/bin/gant
 	dh_link /usr/share/groovy/bin/gant /usr/bin/gant
 

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



More information about the pkg-java-commits mailing list