summaryrefslogtreecommitdiff
path: root/dh_clean.1
diff options
context:
space:
mode:
authorunknown <unknown>2003-07-28 18:46:16 +0000
committerunknown <unknown>2003-07-28 18:46:16 +0000
commitae87933e9cdce79689a0a3160aed4ca4c17b547c (patch)
treeb3099bdd844566555941f8b4e8336c415a489646 /dh_clean.1
parentd579dae0cf159c50dcd902ff4a35590f7dcff395 (diff)
parent63e45075003b1d9fcff097b5644a81131c346653 (diff)
downloaddebhelper-version_2.0.51.tar.gz
r977: This commit was manufactured by cvs2svn to create tagversion_2.0.51
'debian_version_2_0_51'.
Diffstat (limited to 'dh_clean.1')
-rw-r--r--dh_clean.141
1 files changed, 41 insertions, 0 deletions
diff --git a/dh_clean.1 b/dh_clean.1
new file mode 100644
index 00000000..c2e71bf3
--- /dev/null
+++ b/dh_clean.1
@@ -0,0 +1,41 @@
+.TH DH_CLEAN 1 "" "Debhelper Commands" "Debhelper Commands"
+.SH NAME
+dh_clean \- clean up package build directories
+.SH SYNOPSIS
+.B dh_clean
+.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, any detritus left behind by other debhelper commands, etc.
+.SH OPTIONS
+.TP
+.B debhelper options
+See
+.BR debhelper (1)
+for a list of options common to all debhelper commands.
+.TP
+.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 \-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 ENVIRONMENT
+See
+.BR debhelper (1)
+for a list of environment variables that affect all debhelper commands.
+.SH "SEE ALSO"
+.BR debhelper (1)
+.SH AUTHOR
+Joey Hess <joeyh@master.debian.org>