[Glibc-bsd-commits] r2229 - trunk/libbsd/debian

guillem at alioth.debian.org guillem at alioth.debian.org
Sat Jul 12 06:21:39 UTC 2008


Author: guillem
Date: 2008-07-12 06:21:39 +0000 (Sat, 12 Jul 2008)
New Revision: 2229

Modified:
   trunk/libbsd/debian/changelog
   trunk/libbsd/debian/rules
Log:
Clean up debian/rules

Add build-arch and build-indep targets
Rename install to install-arch.
Remove dependencies from binary-indep.
Change binary-arch to depend only on install-arch.


Modified: trunk/libbsd/debian/changelog
===================================================================
--- trunk/libbsd/debian/changelog	2008-07-12 06:16:17 UTC (rev 2228)
+++ trunk/libbsd/debian/changelog	2008-07-12 06:21:39 UTC (rev 2229)
@@ -10,6 +10,11 @@
       systems.
   * Line wrap Uploaders field.
   * Add new libbsd0-dbg package.
+  * Clean up debian/rules:
+    - Add build-arch and build-indep targets
+    - Rename install to install-arch.
+    - Remove dependencies from binary-indep.
+    - Change binary-arch to depend only on install-arch.
 
  -- Hector Garcia <hector at debian.org>  Sun, 17 Jul 2005 16:17:35 +0200
 

Modified: trunk/libbsd/debian/rules
===================================================================
--- trunk/libbsd/debian/rules	2008-07-12 06:16:17 UTC (rev 2228)
+++ trunk/libbsd/debian/rules	2008-07-12 06:21:39 UTC (rev 2229)
@@ -15,11 +15,15 @@
 libdbg := $(lib)-dbg
 libdev := libbsd-dev
 
-build:
+build-indep:
+
+build-arch:
 	dh_testdir
 	
 	$(MAKE)
 
+build: build-indep build-arch
+
 clean:
 	dh_testdir
 	dh_testroot
@@ -28,7 +32,7 @@
 	
 	dh_clean
 
-install: build
+install-arch: build-arch
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -36,10 +40,10 @@
 	
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
-binary-indep: build install
+binary-indep:
 # Nothing to do.
 
-binary-arch: build install
+binary-arch: install-arch
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs
@@ -59,5 +63,6 @@
 
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: install-arch
+.PHONY: clean build-indep build-arch build binary-indep binary-arch binary
 




More information about the Glibc-bsd-commits mailing list