From: joey Date: Tue, 17 Aug 1999 04:36:56 +0000 (+0000) Subject: r20: Initial Import X-Git-Tag: debian_version_0_1~208 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1921f5c59e9a736db764c2cae6ef8dd092167d73;p=debhelper.git r20: Initial Import --- diff --git a/debian/changelog b/debian/changelog index e0caa2c..a33224d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (0.14) unstable; urgency=low + + * dh_fixperms: leave permissions on files in /usr/doc/packages/examples + unchanged. + * Install examples/rules* executable. + + -- Joey Hess Mon, 27 Oct 1997 12:42:33 -0500 + debhelper (0.13) unstable; urgency=low * Added dh_makeshlibs, automatically generates a shlibs file. diff --git a/dh_fixperms b/dh_fixperms index 6e935a8..1c4fef7 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -16,8 +16,8 @@ for PACKAGE in $DH_DOPACKAGES; do fi # Fix up premissions in usr/doc, setting everything to not exectable - # by default. - files=`find debian/$TMP/usr/doc -type f 2>/dev/null | tr "\n" " "` || true + # by default, but leave examples directories alone. + files=`find debian/$TMP/usr/doc -type f 2>/dev/null | grep -v /examples/ | tr "\n" " "` || true if [ "$files" ]; then doit "chmod 644 $files" fi diff --git a/dh_fixperms.1 b/dh_fixperms.1 index b5cb4e1..cfba648 100644 --- a/dh_fixperms.1 +++ b/dh_fixperms.1 @@ -8,10 +8,10 @@ dh_fixperms \- fix permissions of files in package build directories dh_fixperms is a debhelper program that is responsible for setting the permissions of files in package build directories to a sane state. .P -dh_fixperms makes all files in usr/doc in the package build directory be -mode 644. It also changes the permissions of all man pages to mode 644. -It makes all files be owned by root, and it removes group and other write -permission from all files. +dh_fixperms makes all files in usr/doc in the package build directory +(excluding files in the examples/ directory) be mode 644. It also changes +the permissions of all man pages to mode 644. It makes all files be owned by +root, and it removes group and other write permission from all files. .SH OPTIONS .TP .B \-v