[pkg-java] r5644 - trunk/javacc/debian

paulcager-guest at alioth.debian.org paulcager-guest at alioth.debian.org
Thu Feb 7 15:30:45 UTC 2008


Author: paulcager-guest
Date: 2008-02-07 15:30:45 +0000 (Thu, 07 Feb 2008)
New Revision: 5644

Modified:
   trunk/javacc/debian/rules
Log:
Create output jar correctly

Modified: trunk/javacc/debian/rules
===================================================================
--- trunk/javacc/debian/rules	2008-02-07 10:03:40 UTC (rev 5643)
+++ trunk/javacc/debian/rules	2008-02-07 15:30:45 UTC (rev 5644)
@@ -13,11 +13,12 @@
 DEB_ANT_ARGS         := -Dversion=$(DEB_UPSTREAM_VERSION)
 
 binary-post-install/$(PACKAGE)::
-	dh_install -p$(PACKAGE) bin/lib/$(PACKAGE).jar usr/share/java
+	mv bin/lib/$(PACKAGE).jar bin/lib/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
+	dh_install -p$(PACKAGE) bin/lib/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
 	dh_link -p$(PACKAGE) usr/share/java/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(PACKAGE).jar
 	docbook-to-man debian/manpage.sgml >bin/javacc.1
 	dh_installman bin/javacc.1
-	dh_install bin/javacc bin/jjdoc bin/jjtree /usr/bin
+	dh_install bin/javacc bin/jjdoc bin/jjtree usr/bin
 	dh_link usr/share/man/man1/javacc.1 usr/share/man/man1/jjtree.1
 	dh_link usr/share/man/man1/javacc.1 usr/share/man/man1/jjdoc.1
 




More information about the pkg-java-commits mailing list