[pkg-java] r15456 - trunk/stylebook/debian

Jakub Adam xhaakon-guest at alioth.debian.org
Sun Nov 27 01:24:40 UTC 2011


Author: xhaakon-guest
Date: 2011-11-27 01:24:40 +0000 (Sun, 27 Nov 2011)
New Revision: 15456

Modified:
   trunk/stylebook/debian/changelog
   trunk/stylebook/debian/rules
Log:
Fix wrong jar installation names

Modified: trunk/stylebook/debian/changelog
===================================================================
--- trunk/stylebook/debian/changelog	2011-11-25 07:43:41 UTC (rev 15455)
+++ trunk/stylebook/debian/changelog	2011-11-27 01:24:40 UTC (rev 15456)
@@ -1,3 +1,9 @@
+stylebook (1.0~b3~svn20061109-5) UNRELEASED; urgency=low
+
+  * Fix wrong jar installation names.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 27 Nov 2011 02:00:34 +0100
+
 stylebook (1.0~b3~svn20061109-4) unstable; urgency=low
 
   * Team upload.

Modified: trunk/stylebook/debian/rules
===================================================================
--- trunk/stylebook/debian/rules	2011-11-25 07:43:41 UTC (rev 15455)
+++ trunk/stylebook/debian/rules	2011-11-27 01:24:40 UTC (rev 15456)
@@ -34,8 +34,10 @@
 	$(ANT_INVOKE) clean
 
 override_dh_auto_install:
-	jh_classpath --classpath="/usr/share/java/xercesImpl.jar" build/$(PKGNAME)-*_xalan-2.jar
-	jh_installlibs build/$(PKGNAME)-*_xalan-2.jar
+	$(eval JARNAME := $(shell basename build/$(PKGNAME)-*_xalan-2.jar))
+	jh_classpath --classpath="/usr/share/java/xercesImpl.jar" build/$(JARNAME)
+	dh_install -plibstylebook-java build/$(JARNAME) /usr/share/java
+	dh_link -plibstylebook-java usr/share/java/$(JARNAME) usr/share/java/$(PKGNAME).jar
 
 .PHONY: $(TARGETS)
 




More information about the pkg-java-commits mailing list