version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DH_CLEAN |
|
|
2 |
!!!DH_CLEAN |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
dh_clean - clean up package build directories |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__dh_clean__ [[''debhelper options''] [[__-k__] |
|
|
18 |
[[__-d__] [[__-X__''item''] [[''file |
|
|
19 |
...''] |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
dh_clean is a debhelper program that is responsible for |
|
|
24 |
cleaning up after a package is built. It removes the package |
|
|
25 |
build directories, and removes some other files, such as |
|
|
26 |
debian/substvars, debian/files, and any detritus left behind |
|
|
27 |
by other debhelper commands (debian/*.debhelper). It also |
|
|
28 |
removes common files that should not appear in a debian |
|
|
29 |
diff: #*# *~ DEADJOE *.orig *.rej *.SUMS |
|
|
30 |
TAGS core .deps/* *.P |
|
|
31 |
!!OPTIONS |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__-k__, __--keep__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
Do not delete debian/files. When do you want to use this? |
|
|
38 |
Anytime you have a debian/rules that has 2 binary targets |
|
|
39 |
that build different .deb packages; for example, one target |
|
|
40 |
is binary-arch, and the other is binary-indep, or one target |
|
|
41 |
builds the shared library, and the other the -dev package. |
|
|
42 |
If you didn't use -k in these cases, then debian/files would |
|
|
43 |
be deleted in the middle, and your changes file will only |
|
|
44 |
contain the last binary package that was built. |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
__-d__, __--dirs-only__ |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
Only clean the package build directories, do not clean up |
|
|
51 |
any other files at all. |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
__-X__''item'' |
|
|
55 |
__--exclude=__''item'' |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Exclude files that contain ``item'' anywhere in their |
|
|
59 |
filename from being deleted, even if they would normally be |
|
|
60 |
deleted. You may use this option multiple times to build up |
|
|
61 |
a list of things to exclude. |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
''file ...'' |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
Delete these files too. |
|
|
68 |
!!SEE ALSO |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
debhelper(1) |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
This program is a part of debhelper. |
|
|
75 |
!!AUTHOR |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Joey Hess |
|
|
79 |
---- |