From f9b969f0702e7030d34307c376ff3f0046dfdeae Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 04:38:52 +0000 Subject: [PATCH] r32: Initial Import --- README | 9 +++++++++ debian/changelog | 9 +++++++++ dh_du.1 | 2 +- dh_installdirs | 4 ++-- dh_installdirs.1 | 2 +- 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README b/README index 2f2e7c2..53b6c3d 100644 --- a/README +++ b/README @@ -125,4 +125,13 @@ binary package the debhelper program will act on. For example: This uses debian/tmp- as the package build directory. +Miscellaneous notes: +------------------- + +Some of the dh_* programs (dh_installdirs in particular, I have not checked +the rest), will let you pass $PACKAGE to them and it will be expanded into +the package name they are operating on. For example: + + dh_installdirs -a 'usr/doc/$PACKAGE' + -- Joey Hess diff --git a/debian/changelog b/debian/changelog index 8d8f7e2..053ed04 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +debhelper (0.26) unstable; urgency=low + + * dh_installdirs: Do not create usr/doc/$PACKAGE directory. Bug #15498 + * README: documented that $PACKAGE can be used in the arguments to some of + the dh_* programs (#15497). + * dh_du.1: no, this is not really the dh_md5sums man page (#15499). + + -- Joey Hess Sun, 30 Nov 1997 13:01:40 -0500 + debhelper (0.25) unstable; urgency=low * dh_compress: was not reading debian/compress file - fixed. diff --git a/dh_du.1 b/dh_du.1 index 42509a5..d7d5061 100644 --- a/dh_du.1 +++ b/dh_du.1 @@ -2,7 +2,7 @@ .SH NAME dh_du \- generate DEBIAN/du file .SH SYNOPSIS -.B dh_md5sums +.B dh_du .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]" .SH "DESCRIPTION" dh_du is a debhelper program that is responsible for generating diff --git a/dh_installdirs b/dh_installdirs index a44de9a..dbe1a0a 100755 --- a/dh_installdirs +++ b/dh_installdirs @@ -9,8 +9,8 @@ for PACKAGE in $DH_DOPACKAGES; do TMP=`tmpdir $PACKAGE` EXT=`pkgext $PACKAGE` - if [ ! -d $TMP/usr/doc/$PACKAGE ]; then - doit "install -d $TMP/usr/doc/$PACKAGE" + if [ ! -d $TMP ]; then + doit "install -d $TMP" fi dirs="" diff --git a/dh_installdirs.1 b/dh_installdirs.1 index 41dd0fd..9f5bc35 100644 --- a/dh_installdirs.1 +++ b/dh_installdirs.1 @@ -14,7 +14,7 @@ dh_installdirs is acting on that package. .P A file named debian/dirs (for the first binary package in debian/control), or debian/package.dirs (for each additional package in debian/control) can -list other directories to be created. Seperate the directory names with +list other directories to be created. Separate the directory names with whitespace. .P Be sure to only use directory names relative to the package build -- 2.39.5