[pkg-java] r5955 - trunk/java-common/debian

doko at alioth.debian.org doko at alioth.debian.org
Wed Mar 5 20:18:01 UTC 2008


Author: doko
Date: 2008-03-05 20:17:59 +0000 (Wed, 05 Mar 2008)
New Revision: 5955

Modified:
   trunk/java-common/debian/rules
Log:
- don't build java-common for binary-arch only builds


Modified: trunk/java-common/debian/rules
===================================================================
--- trunk/java-common/debian/rules	2008-03-05 20:12:40 UTC (rev 5954)
+++ trunk/java-common/debian/rules	2008-03-05 20:17:59 UTC (rev 5955)
@@ -35,7 +35,7 @@
 jhl_provides	= $(call mk_cslist,$(provides),runtime-headless)
 jdk_provides	= $(call mk_cslist,$(provides),sdk)
 
-build: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 
@@ -50,12 +50,12 @@
 
 	dh_clean
 
-install: install-stamp
+install-indep: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
-	dh_clean -k
-	dh_installdirs
+	dh_clean -k -i
+	dh_installdirs -i
 
 	dh_installdocs -i
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/java-common
@@ -64,7 +64,13 @@
 
 	touch install-stamp
 
-binary-arch:
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s
+
+
+binary-arch: install-arch
 ifneq (,$(p_jre))
 	dh_testdir -s
 	dh_testroot -s
@@ -99,7 +105,7 @@
 endif
 
 # Build architecture-independent files here.
-binary-indep: build install
+binary-indep: build-indep install-indep
 	dh_testdir -i
 	dh_testroot -i
 #	dh_installdebconf -i




More information about the pkg-java-commits mailing list