X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_prep;h=33a6fa6a99c120ad750e498c015d7c9f2eb1a4a2;hb=fb8f18f4a98669c3b85e1bd7920fbabfc00b886e;hp=747c9c708326309cfd8f6e6f10faf97e9886048e;hpb=4f8a46b36e961d1a64d466a63f3a7ef6c90bafe2;p=debhelper.git diff --git a/dh_prep b/dh_prep index 747c9c7..33a6fa6 100755 --- a/dh_prep +++ b/dh_prep @@ -2,7 +2,7 @@ =head1 NAME -dh_prep - preform cleanups in preparation for building a binary package +dh_prep - perform cleanups in preparation for building a binary package =cut @@ -15,17 +15,21 @@ B [S>] [B<-X>I] =head1 DESCRIPTION -dh_prep is a debhelper program that performs some file cleanups in -preparation for building a package. (This is what dh_clean -k used to do.) -It removes the package build directories, debian/tmp, and some temp files -that are generated during the build. Putting this at the start of the build -process makes the build process idempotent. +B is a debhelper program that performs some file cleanups in +preparation for building a binary package. (This is what B +used to do.) It removes the package build directories, F, +and some temp files that are generated when building a binary package. + +It is typically run at the top of the B and B targets, +or at the top of a target such as install that they depend on. =head1 OPTIONS +=over 4 + =item B<-X>I B<--exclude=>I -Exclude files that contain "item" anywhere in their filename from being +Exclude files that contain F anywhere in their filename from being deleted, even if they would normally be deleted. You may use this option multiple times to build up a list of things to exclude.