summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2020-05-09 19:29:16 +0000
committerNiels Thykier <niels@thykier.net>2020-05-09 19:29:16 +0000
commit91c8f49c31a925295dbd13b0b9571d1b14f3e498 (patch)
treebe7564f42dcd6c1968977b606f237de7601b0e2a /dh_clean
parenta2e694a1408552cb7ec63100ee7dfdc55bdce182 (diff)
dh_clean.1: Rephrase some documentation
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean15
1 files changed, 7 insertions, 8 deletions
diff --git a/dh_clean b/dh_clean
index c89c99fe..46d3087b 100755
--- a/dh_clean
+++ b/dh_clean
@@ -18,19 +18,18 @@ B<dh_clean> [S<I<debhelper options>>] [B<-k>] [B<-d>] [B<-X>I<item>] [S<I<path>
=head1 DESCRIPTION
-B<dh_clean> is a debhelper program that is responsible for cleaning up after a
-package is built. It removes the package build directories, and removes some
-other files including F<debian/files>, and any detritus left behind by other
-debhelper commands. It also removes common files that should not appear in a
-Debian diff:
+B<dh_clean> is a debhelper program that is responsible for cleaning up. It should
+be the last step of the B<clean> target and other debhelper commands generally
+assume that B<dh_clean> will clean up after them.
+
+It removes the package build directories, and removes some other files including
+F<debian/files>, and any detritus left behind by other debhelper commands. It
+also removes common files that should not appear in a Debian diff:
#*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp
It does not run "make clean" to clean up after the build process. Use
L<dh_auto_clean(1)> to do things like that.
-B<dh_clean> should be the last debhelper command run in the
-B<clean> target in F<debian/rules>.
-
=head1 FILES
=over 4