[Glibc-bsd-commits] r3325 - trunk/kfreebsd-kernel-headers/debian

Guillem Jover guillem at alioth.debian.org
Thu May 26 00:40:18 UTC 2011


Author: guillem
Date: 2011-05-26 00:40:18 +0000 (Thu, 26 May 2011)
New Revision: 3325

Modified:
   trunk/kfreebsd-kernel-headers/debian/changelog
   trunk/kfreebsd-kernel-headers/debian/rules
Log:
Add build-arch, build-indep, install-arch and install-indep targets


Modified: trunk/kfreebsd-kernel-headers/debian/changelog
===================================================================
--- trunk/kfreebsd-kernel-headers/debian/changelog	2011-05-26 00:19:18 UTC (rev 3324)
+++ trunk/kfreebsd-kernel-headers/debian/changelog	2011-05-26 00:40:18 UTC (rev 3325)
@@ -21,6 +21,8 @@
     - Use dh_prep instead of deprecated “dh_clean -k”.
   * Remove unused debhelper commands from debian/rules.
   * Switch to source format “3.0 (native)”.
+  * Add build-arch, build-indep, install-arch and install-indep targets
+    to debian/rules.
 
  -- Robert Millan <rmh at debian.org>  Thu, 27 Jan 2011 16:16:03 +0100
 

Modified: trunk/kfreebsd-kernel-headers/debian/rules
===================================================================
--- trunk/kfreebsd-kernel-headers/debian/rules	2011-05-26 00:19:18 UTC (rev 3324)
+++ trunk/kfreebsd-kernel-headers/debian/rules	2011-05-26 00:40:18 UTC (rev 3325)
@@ -24,17 +24,21 @@
 	rm -rf sys usr.sbin
 	dh_clean
 
-build: build-stamp
-build-stamp:
+build-arch:
+
+build-indep: build-indep-stamp
+build-indep-stamp:
 	dh_testdir
 
 	tar xfJ $(SRC_TAR) --strip-components=1
 
 	QUILT_PATCHES=$(CURDIR)/debian/patches quilt push -a || test $$? = 2
 
-	touch build-stamp
+	touch $@
 
-install: build
+build: build-arch build-indep
+
+install-indep: build-indep
 	dh_testdir
 	dh_testroot
 	dh_prep
@@ -49,12 +53,16 @@
 		&& find . -type f -name "*.h" -exec cp --parents {} $(HEADERS_PACKAGE)/usr/include/machine \;
 endif
 
+install-arch: build-arch
+
+install: install-arch install-indep
+
 # Build architecture-independent files here.
-binary-indep: build install
+binary-indep: install-indep
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: install-indep
 	dh_testdir
 	dh_testroot
 	dh_installdocs
@@ -70,4 +78,5 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
+
 .PHONY: build clean binary-indep binary-arch binary install




More information about the Glibc-bsd-commits mailing list