[Forensics-changes] [SCM] Guess PC disk partition table, find lost partitions branch, debian, updated. debian/0.1h-4.1-19-g31cf976

Daniel Baumann daniel at debian.org
Fri Sep 19 06:40:58 UTC 2008


The following commit has been merged in the debian branch:
commit a845f95cb866a3cbf6bc1484cd0e8e833b83832b
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Sep 19 08:37:36 2008 +0200

    Rewriting rules file from scratch.

diff --git a/debian/rules b/debian/rules
index e4acf60..599b7c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,82 +1,48 @@
 #!/usr/bin/make -f
-# MAde with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Cristoph Lameter.
 
 include /usr/share/dpatch/dpatch.make
 
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-export OPTIMIZATION_FLAGS:=-O0
-endif
-
-build: build-stamp
-build-stamp: patch-stamp
+clean: unpatch
 	dh_testdir
+	dh_testroot
+	rm -f build-stamp
 
-#	# Add here commands to compile the package.
-
-	$(MAKE) DEBUG=1
+	$(MAKE) clean
 
-	touch build-stamp
+	dh_clean
 
-clean: unpatch
+build: build-stamp
+build-stamp: patch
 	dh_testdir
-	dh_testroot
-	rm -f build-stamp install-stamp
 
-#	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	CFLAGS="$(CFLAGS)" $(MAKE) DEBUG=1
 
-	dh_clean
+	touch build-stamp
 
-install: install-stamp
-install-stamp: build-stamp
+install:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
 
-#	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install-object DESTDIR=`pwd`/debian/tmp
-
-	touch install-stamp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/gpart install
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary: binary-arch
 
-# Build architecture-dependent files here.
 binary-arch: build install
-#	dh_testversion
 	dh_testdir
 	dh_testroot
-	dh_installdocs
-#	dh_installexamples
-#	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-#	dh_installcron
-	dh_installmanpages
-#	dh_undocumented
 	dh_installchangelogs Changes
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_installdocs
 	dh_strip
-endif
 	dh_compress
 	dh_fixperms
-#	dh_suidregister
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
-#	dh_makeshlibs
 	dh_md5sums
 	dh_builddeb
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-indep:
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: clean build install binary binary-arch binary-indep

-- 
Guess PC disk partition table, find lost partitions



More information about the forensics-changes mailing list