[Forensics-changes] [SCM] Tool to help recover deleted files on ext3 filesystems branch, debian, updated. debian/0.10.1-3-2-gbcee194

Daniel Baumann daniel at debian.org
Mon Jul 27 16:23:11 UTC 2009


The following commit has been merged in the debian branch:
commit bcee194a5f0c9d2701311bfb95d9884abf44ec05
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jul 27 17:28:53 2009 +0200

    Minimizing rules file.

diff --git a/debian/rules b/debian/rules
index 26eafa8..d33182a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +1,14 @@
 #!/usr/bin/make -f
-# Uncomment the following line to disable optimization and enable
-# richer debug information.
-# DEB_BUILD_OPTIONS += nostrip noopt
-
-DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-	CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-	CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
 
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	EXTRA += --enable-debug --disable-optimize
 endif
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-	dh_clean
-
-config.status: configure
-	dh_testdir
-
-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
+%:
+	dh ${@}
 
-	./configure $(CROSS) --prefix=/usr $(EXTRA) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+override_dh_auto_configure:
+	dh_auto_configure $(EXTRA)
 
-build: build-stamp
-build-stamp: config.status
-	dh_testdir
-
-	$(MAKE)
-
-	touch build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	$(MAKE) DESTDIR=$(CURDIR)/debian/ext3grep install
-
-binary: binary-arch
-
-binary-arch: install
-	dh_testdir
-	dh_testroot
+override_dh_installchangelogs:
 	dh_installchangelogs NEWS
-	dh_installdocs
-	dh_installman
-	dh_lintian
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-indep:
-
-.PHONY: clean build install binary binary-arch binary-indep

-- 
Tool to help recover deleted files on ext3 filesystems



More information about the forensics-changes mailing list