[Forensics-changes] [SCM] debian-forensics/scrounge-ntfs branch, debian, updated. debian/0.9-1.-13-g0308888

Daniel Baumann daniel at debian.org
Sun Feb 17 06:32:09 UTC 2008


The following commit has been merged in the debian branch:
commit 03088883417232cc5d762cc2e9499133b3a10fae
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 17 07:32:14 2008 +0100

    Reordering rules.

diff --git a/debian/rules b/debian/rules
index 08eadba..40579d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,37 +11,35 @@ else
 	CFLAGS += -O2
 endif
 
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean
 
 config.status: configure
 	dh_testdir
-	# Add here commands to configure the package.
+
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 	cp -f /usr/share/misc/config.sub config.sub
 endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 build: build-stamp
-
-build-stamp:  config.status
+build-stamp: config.status
 	dh_testdir
 
 	$(MAKE)
 
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
-
-	dh_clean
+	touch build-stamp
 
 install: build
 	dh_testdir
@@ -51,7 +49,7 @@ install: build
 
 	$(MAKE) DESTDIR=$(CURDIR)/debian/scrounge-ntfs install
 
-binary-indep: build install
+binary: binary-arch
 
 binary-arch: build install
 	dh_testdir
@@ -67,5 +65,6 @@ binary-arch: build install
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary-indep:
+
+.PHONY: clean configure build install binary binary-arch binary-indep

-- 
debian-forensics/scrounge-ntfs



More information about the forensics-changes mailing list