From c5cca23df59c38a414d7b8ef4725f0533723d77c Mon Sep 17 00:00:00 2001
From: joey <joey>
Date: Tue, 17 Aug 1999 05:17:11 +0000
Subject: [PATCH] r232: Initial Import

---
 debian/changelog     | 6 ++++++
 dh_md5sums           | 2 +-
 dh_movefiles         | 6 +++---
 examples/rules       | 1 +
 examples/rules.multi | 2 ++
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1556aeb..c5b997d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (2.0.07) unstable; urgency=low
+
+  * Added dh_perl calls to example rules files.
+
+ -- Joey Hess <joeyh@master.debian.org>  Sun,  4 Jul 1999 15:57:51 -0700
+
 debhelper (2.0.06) unstable; urgency=low
 
   * Now depends on perl5 | perl, I'll kill the | perl bit later on, but it
diff --git a/dh_md5sums b/dh_md5sums
index 2b62629..8015df7 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -34,7 +34,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
 	}
 	
 	$olddir=getcwd();
-	complex_doit("cd $TMP ; find * -type f $exclude ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums ; cd $olddir");
+	complex_doit("cd $TMP >/dev/null ; find * -type f $exclude ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums ; cd $olddir >/dev/null");
 	# If the file's empty, no reason to waste inodes on it.
 	if (-z "$TMP/DEBIAN/md5sums") {
 		doit("rm","-f","$TMP/DEBIAN/md5sums");
diff --git a/dh_movefiles b/dh_movefiles
index 2ed8e37..09159d3 100755
--- a/dh_movefiles
+++ b/dh_movefiles
@@ -59,15 +59,15 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
 			$file=$_;
 			$ret=1 if (! -e $file && ! -l $file);
 			$file=~s:^$sourcedir/+::;
-			complex_doit("(cd $sourcedir ; find $file ! -type d -and ! -type l -print || true) >> movelist");
+			complex_doit("(cd $sourcedir >/dev/null ; find $file ! -type d -and ! -type l -print || true) >> movelist");
 		}
 		foreach (@filelist) {
 			$file=$_;
 			$ret=1 if (! -e $file && ! -l $file);
 			$file=~s:^$sourcedir/+::;
-			complex_doit("(cd $sourcedir ; find $file ! -type d -and -type l -print || true) >> movelist");
+			complex_doit("(cd $sourcedir >/dev/null ; find $file ! -type d -and -type l -print || true) >> movelist");
 		}
-		complex_doit("(cd $sourcedir;tar --create --remove-files --files-from=../../movelist --file -) | (cd $TMP;tar xpf -)");
+		complex_doit("(cd $sourcedir >/dev/null ; tar --create --remove-files --files-from=../../movelist --file -) | (cd $TMP >/dev/null ;tar xpf -)");
 		doit("rm","-f","movelist");
 	}
 }
diff --git a/examples/rules b/examples/rules
index 5e805ed..5ad6892 100755
--- a/examples/rules
+++ b/examples/rules
@@ -66,6 +66,7 @@ binary-arch: build install
 	dh_suidregister
 #	dh_makeshlibs
 	dh_installdeb
+#	dh_perl
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
diff --git a/examples/rules.multi b/examples/rules.multi
index 7a609e6..034a451 100755
--- a/examples/rules.multi
+++ b/examples/rules.multi
@@ -64,6 +64,7 @@ binary-indep: build install
 	# You may want to make some executables suid here.
 	dh_suidregister -i
 	dh_installdeb -i
+#	dh_perl -i
 	dh_gencontrol -i
 	dh_md5sums -i
 	dh_builddeb -i
@@ -91,6 +92,7 @@ binary-arch: build install
 	dh_suidregister -a
 	dh_installdeb -a
 #	dh_makeshlibs -a
+#	dh_perl -a
 	dh_shlibdeps -a
 	dh_gencontrol -a
 	dh_md5sums -a
-- 
2.39.5