[Forensics-changes] [SCM] debian-forensics/wipe branch, debian, updated. debian/0.21-4-6-gbeb5390

Daniel Baumann daniel at debian.org
Fri Feb 22 09:00:25 UTC 2008


The following commit has been merged in the debian branch:
commit beb539027a15e5cf015142f5f777d01cc379a141
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Feb 22 10:00:43 2008 +0100

    Reordering rules.

diff --git a/debian/rules b/debian/rules
index fb4e097..020d7f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,5 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 
 ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu)
@@ -24,35 +21,32 @@ else
 	endif
 endif
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Building package
-	$(MAKE) $(target) CFLAGS="$(CFLAGS)"
-
-	touch build-stamp
-
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
 
-	# Cleaning package
 	[ ! -f Makefile ] || $(MAKE) clean
 
 	dh_clean
 
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE) $(target) CFLAGS="$(CFLAGS)"
+
+	touch build-stamp
+
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
 
-	# Installing package
 	$(MAKE) DESTDIR=$(CURDIR)/debian/wipe install
 
-binary-indep: build install
+binary: binary-arch
 
 binary-arch: build install
 	dh_testdir
@@ -61,7 +55,6 @@ binary-arch: build install
 	dh_installdocs
 	dh_installexamples
 	dh_installman
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
@@ -71,5 +64,6 @@ binary-arch: build install
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep

-- 
debian-forensics/wipe



More information about the forensics-changes mailing list