summaryrefslogtreecommitdiff
path: root/dh_clean.1
diff options
context:
space:
mode:
authorjoey <joey>1999-11-23 23:51:29 +0000
committerjoey <joey>1999-11-23 23:51:29 +0000
commitb94647e38f768cb0f5eff426fffc96ac7d70fd4a (patch)
treef43e1e921970948c7dacf465ff1e683932bbf6df /dh_clean.1
parentb0ebd80067950b5ef61fd4344a88a8bf53ee31ef (diff)
r309: removed 'master'
Diffstat (limited to 'dh_clean.1')
-rw-r--r--dh_clean.151
1 files changed, 23 insertions, 28 deletions
diff --git a/dh_clean.1 b/dh_clean.1
index e387c4eb..729ba054 100644
--- a/dh_clean.1
+++ b/dh_clean.1
@@ -1,46 +1,41 @@
-.TH DH_CLEAN 1
+.TH DH_CLEAN 1 "" "Debhelper Commands" "Debhelper Commands"
.SH NAME
dh_clean \- clean up package build directories
.SH SYNOPSIS
.B dh_clean
-.I "[-v] [-a] [-i] [-ppackage] [file ...]"
+.I "[debhelper options] [-k] [-d] [file ...]"
.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, etc.
+files, any detritus left behind by other debhelper commands, etc.
.SH OPTIONS
.TP
-.B \-v
-Verbose mode; show all commands that modify the package build directory.
+.B debhelper options
+See
+.BR debhelper (1)
+for a list of options common to all debhelper commands.
.TP
-.B \-a
-Clean up the package build directory for all architecture dependent packages.
+.B \-k, \--keep
+Do not delete debian/files. When do you want to use this? Anytime you have a
+debian/rules that has 2 binary targets that build different .deb packages;
+for example, one target is binary-arch, and the other is binary-indep, or
+one target builds the shared library, and the other the -dev package. If you
+didn't use -k in these cases, then debian/files would be deleted in the
+middle, and your changes file will only contain the last binary package that
+was built.
.TP
-.B \-i
-Clean up the package build directory for all architecture independent packages.
-.TP
-.B \-ppackage
-Clean up the package build directory for the package named "package".
+.B \-d, \--dirs-only
+Only clean the package build directories, do not clean up any other files at
+all.
.TP
.B file ...
Delete these files too.
-.SH NOTES
-The
-.B \-a
-.B \-i
-and
-.B \-p
-arguments are cumulative. If none are specified, then all packages listed in
-the control file will have thier package build directories cleaned up.
.SH ENVIRONMENT
-.TP
-.I DH_VERBOSE
-Enables verbose mode
+See
+.BR debhelper (1)
+for a list of environment variables that affect all debhelper commands.
.SH "SEE ALSO"
-.BR /usr/doc/debhelper/README
-.SH BUGS
-Filenames with spaces in them will not currently be deleted when specified
-as parameters.
+.BR debhelper (1)
.SH AUTHOR
-Joey Hess <joeyh@master.debian.org>
+Joey Hess <joeyh@debian.org>