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


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to