From: joey Date: Tue, 17 Aug 1999 04:36:18 +0000 (+0000) Subject: r14: Initial Import X-Git-Tag: debian_version_0_1~214 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=be3ec728c4139e5b550bcd3e8fa352f95d581891;p=debhelper.git r14: Initial Import --- diff --git a/TODO b/TODO index 8bf234f..07796f9 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -.so files of compressed manpages change to symlinks +.so files of compressed manpages -- change to symlinks add all other functionality of debstd (??) dh_fixperms: allow listing of files not to be touched (diffucult). -add suidregister support diff --git a/debian/changelog b/debian/changelog index e865dc6..c06f0be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (0.8) unstable; urgency=low + + * Added dh_md5sum, generates a md5sums file. + * dh_clean: fixed to echo all commands when verbose mode is on. + + -- Joey Hess Fri, 17 Oct 1997 14:18:26 -0400 + debhelper (0.7) unstable; urgency=low * Sped up some things by removing unnecesary for loops. diff --git a/debian/rules b/debian/rules index 55fd8e9..8b635e7 100755 --- a/debian/rules +++ b/debian/rules @@ -42,8 +42,9 @@ binary-indep: build ./dh_installmanpages ./dh_installchangelogs ./dh_compress - ./dh_installdebfiles ./dh_fixperms + ./dh_suidregister + ./dh_installdebfiles ./dh_md5sums ./dh_builddeb diff --git a/dh_clean b/dh_clean index 964eec3..76522dd 100755 --- a/dh_clean +++ b/dh_clean @@ -14,8 +14,7 @@ for PACKAGE in $DH_DOPACKAGES; do done doit "rm -f debian/files* debian/*.debhelper $*" -# Remove other temp files. I don't run this through doit becuase -# I haven't figured out what I have to esacape to put it in quotes. -# However, it doesn't modify debian/$TMP, so I guess it's ok to not run it -# through doit. +# Remove other temp files. doit isn't smart enough to handle this, so I echo +# by hand (sigh). +verbose_echo "find . \( -name "\#*\#" -o -name "*~" -o -name "DEADJOE" \) -exec rm -f {} \;" find . \( -name "\#*\#" -o -name "*~" -o -name "DEADJOE" \) -exec rm -f {} \; diff --git a/dh_installdebfiles.1 b/dh_installdebfiles.1 index 9827656..924e04b 100644 --- a/dh_installdebfiles.1 +++ b/dh_installdebfiles.1 @@ -26,9 +26,9 @@ The files postinst, preinst, postrm, and prerm are handled specially: If a corresponding file named debian/script.debhelper exists, the contents of that file are merged into the script as follows: If the script exists, then anywhere in it that "#DEBHELPER#" appears, the text of the .debhelper file is -inserted. If the script does not exist, then a script is generated from the -.debhelper file. The .debhelper files are created by other debhelper programs, -such as +inserted. If the script does not exist, then a script is generated from +the .debhelper file. The .debhelper files are created by other debhelper +programs, such as .BR dh_installmenu (1) , and are shell scripts. .P diff --git a/dh_md5sums b/dh_md5sums index 634e2fd..8b37bc2 100755 --- a/dh_md5sums +++ b/dh_md5sums @@ -1,7 +1,7 @@ #!/bin/sh -e # -# Generate a DEBIAN/md5sums file, that lists the md5sums of all -# non-conffiles in the package +# Generate a DEBIAN/md5sums file, that lists the md5sums of all files in the +# package. PATH=debian:$PATH:/usr/lib/debhelper . dh_lib diff --git a/examples/rules b/examples/rules index 961ab45..4b4d69d 100755 --- a/examples/rules +++ b/examples/rules @@ -41,6 +41,7 @@ binary-arch: build dh_compress dh_fixperms dh_installdebfiles + dh_m5dsums dh_builddeb binary: binary-indep binary-arch diff --git a/examples/rules.multi b/examples/rules.multi index fd9bf5d..15ed5a4 100755 --- a/examples/rules.multi +++ b/examples/rules.multi @@ -39,6 +39,7 @@ binary-indep: build dh_compress -i dh_fixperms -i dh_installdebfiles -i + dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. @@ -59,6 +60,7 @@ binary-arch: build dh_compress -a dh_fixperms -a dh_installdebfiles -a + dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch