]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_clean.1
r381: * dh_builddeb: Ok, it is cosmetic, but it annoyed me.
[debhelper.git] / dh_clean.1
index 729ba0545a62b0b66ab52dedbd52830b29e0e1f4..5db26de0e01bc486da90adc4c14379bae755e5d0 100644 (file)
@@ -3,12 +3,14 @@
 dh_clean \- clean up package build directories
 .SH SYNOPSIS
 .B dh_clean
-.I "[debhelper options] [-k] [-d] [file ...]"
+.I "[debhelper options] [-k] [-d] [file ...] [-Xitem]"
 .SH "DESCRIPTION"
 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, such as debian/substvars, debian/files, DEADJOE, emacs backup 
-files, any detritus left behind by other debhelper commands, etc.
+other files, such as debian/substvars, 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 core .deps/* *.P
 .SH OPTIONS
 .TP
 .B debhelper options
@@ -29,6 +31,11 @@ was built.
 Only clean the package build directories, do not clean up any other files at
 all.
 .TP
+.B \-Xitem, \--exclude=item
+Exclude files that contain "item" 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.
+.TP
 .B file ...
 Delete these files too.
 .SH ENVIRONMENT