[pkg-java] r13412 - trunk/libsaxon-java/debian

Niels Thykier nthykier at alioth.debian.org
Sat Mar 12 09:14:37 UTC 2011


Author: nthykier
Date: 2011-03-12 09:14:28 +0000 (Sat, 12 Mar 2011)
New Revision: 13412

Modified:
   trunk/libsaxon-java/debian/rules
Log:
Worked around broken jh_installlibs and jh_depends and remove .PHONEY
and broken binary target.


Modified: trunk/libsaxon-java/debian/rules
===================================================================
--- trunk/libsaxon-java/debian/rules	2011-03-12 08:44:05 UTC (rev 13411)
+++ trunk/libsaxon-java/debian/rules	2011-03-12 09:14:28 UTC (rev 13412)
@@ -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 @@
 	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




More information about the pkg-java-commits mailing list