[stylebook] 21/34: Fix wrong jar installation names

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 29 10:54:17 BST 2018


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

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

commit b4b17df62400387a4550cdab53839979cc1d1300
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sun Nov 27 01:24:40 2011 +0000

    Fix wrong jar installation names
---
 debian/changelog | 6 ++++++
 debian/rules     | 6 ++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a52bb9e..54ddabb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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.
diff --git a/debian/rules b/debian/rules
index 62cbe50..1215843 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,8 +34,10 @@ override_dh_auto_clean:
 	$(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)
 

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



More information about the pkg-java-commits mailing list