[pkg-java] r7145 - trunk/xmlgraphics-commons/debian

sylvestre-guest at alioth.debian.org sylvestre-guest at alioth.debian.org
Tue Oct 14 12:44:26 UTC 2008


Author: sylvestre-guest
Date: 2008-10-14 12:44:26 +0000 (Tue, 14 Oct 2008)
New Revision: 7145

Modified:
   trunk/xmlgraphics-commons/debian/rules
Log:
bad names of the jar file

Modified: trunk/xmlgraphics-commons/debian/rules
===================================================================
--- trunk/xmlgraphics-commons/debian/rules	2008-10-14 04:40:44 UTC (rev 7144)
+++ trunk/xmlgraphics-commons/debian/rules	2008-10-14 12:44:26 UTC (rev 7145)
@@ -4,6 +4,8 @@
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
+export VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/.dfsg.*//')
+
 #JAVA_HOME := /usr/lib/jvm/java-gcj
 JAVA_HOME_DIRS       := /usr/lib/jvm/java-6-openjdk  /usr/lib/jvm/java-6-sun
 
@@ -12,5 +14,5 @@
 DEB_ANT_BUILD_TARGET := all
 
 install/libxmlgraphics-commons-java::
-	install -m644 -D build/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar debian/libxmlgraphics-commons-java/usr/share/java/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plibxmlgraphics-commons-java usr/share/java/xmlgraphics-commons-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xmlgraphics-commons.jar
+	install -m644 -D build/xmlgraphics-commons-$(VERSION).jar debian/libxmlgraphics-commons-java/usr/share/java/xmlgraphics-commons-$(VERSION).jar
+	dh_link -plibxmlgraphics-commons-java usr/share/java/xmlgraphics-commons-$(VERSION).jar usr/share/java/xmlgraphics-commons.jar




More information about the pkg-java-commits mailing list