]> git.donarmstrong.com Git - debhelper.git/blob - dh_clean.1
r27: Initial Import
[debhelper.git] / dh_clean.1
1 .TH DH_CLEAN 1
2 .SH NAME
3 dh_clean \- clean up package build directories
4 .SH SYNOPSIS
5 .B dh_clean
6 .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [file ...]"
7 .SH "DESCRIPTION"
8 dh_clean is a debhelper program that is responsible for cleaning up after a
9 package is built. It removes the package build directories, and removes some
10 other files, such as debian/substvars, debian/files, DEADJOE, emacs backup 
11 files, etc.
12 .SH OPTIONS
13 .TP
14 .B \-v
15 Verbose mode; show all commands that modify the package build directory.
16 .TP
17 .B \-a
18 Clean up the package build directory for all architecture dependent packages.
19 .TP
20 .B \-i
21 Clean up the package build directory for all architecture independent packages.
22 .TP
23 .B \-ppackage
24 Clean up the package build directory for the package named "package".
25 .TP
26 .B \-Ptmpdir
27 Use "tmpdir" for package build directory.
28 .TP
29 .B file ...
30 Delete these files too.
31 .SH NOTES
32 The
33 .B \-a
34 .B \-i
35 and
36 .B \-p
37 arguments are cumulative. If none are specified, then all packages listed in
38 the control file will have thier package build directories cleaned up.
39 .SH ENVIRONMENT
40 .TP
41 .I DH_VERBOSE
42 Enables verbose mode
43 .SH "SEE ALSO"
44 .BR /usr/doc/debhelper/README
45 .SH BUGS
46 Filenames with spaces in them will not currently be deleted when specified
47 as parameters.
48 .SH AUTHOR
49 Joey Hess <joeyh@master.debian.org>