[Forensics-changes] [SCM] debian-forensics/memdump branch, debian-sid, updated. 5218d2584fdc9c616cf67d5527a7534e32311cd3

Daniel Baumann daniel at debian.org
Mon Feb 11 22:10:23 UTC 2008


The following commit has been merged in the debian-sid branch:
commit 5218d2584fdc9c616cf67d5527a7534e32311cd3
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Feb 11 23:10:19 2008 +0100

    Rewriting rules.

diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index 236670a..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/sbin
diff --git a/debian/rules b/debian/rules
index 0c15eae..a59734b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +1,47 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f build-stamp
 
 	$(MAKE) clean
+
 	dh_clean
 
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE)
+	touch build-stamp
+
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
 
-	cp -a $(CURDIR)/memdump $(CURDIR)/debian/memdump/usr/sbin
+	install -D -m 0755 memdump debian/memdump/usr/sbin/memdump
 
-binary-indep: build install
+binary: binary-arch binary-indep
 
 binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
-	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman memdump.1
-	dh_link
+	dh_install
+	dh_installman
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep

-- 
debian-forensics/memdump



More information about the forensics-changes mailing list