[libsaxon-java] 19/33: Worked around broken jh_installlibs and jh_depends and remove .PHONEY and broken binary target.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jun 19 12:26:39 UTC 2017


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

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

commit bf99a619dee4eb7e55ab132fee693c19a87745d0
Author: Niels Thykier <nthykier at debian.org>
Date:   Sat Mar 12 09:14:28 2011 +0000

    Worked around broken jh_installlibs and jh_depends and remove .PHONEY
    and broken binary target.
---
 debian/rules | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index f97e005..42604b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+UPSTREAM_VERSION=6.5.5
 JAVA_HOME=/usr/lib/jvm/default-java
 SOURCES=src
 BUILD=build
@@ -37,11 +38,16 @@ override_dh_auto_clean:
 	rm -f build-stamp configure-stamp saxon*.jar
 	rm -rf $(BUILD)
 
+override_jh_installlibs:
+	jh_installlibs --upstream-version="$(UPSTREAM_VERSION)"
+
+override_jh_depends:
+	# jh_depends chokes on the jar file for some reason
+	jh_depends -plibsaxon-java-doc
+
 override_dh_strip:
 ifeq ($(with_gcj_native),yes)
 	dh_nativejava -plibsaxon-java-gcj
 endif
 	dh_strip
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

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



More information about the pkg-java-commits mailing list