version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DH_MOVEFILES |
|
|
2 |
!!!DH_MOVEFILES |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
NOTES |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
dh_movefiles - move files out of debian/tmp into subpackages |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__dh_movefiles__ [[''debhelper options''] |
|
|
19 |
[[__--sourcedir=__''dir''] [[''file |
|
|
20 |
...''] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
dh_movefiles is a debhelper program that is responsible for |
|
|
25 |
moving files out of debian/tmp or some other directory and |
|
|
26 |
into other package build directories. This may be useful if |
|
|
27 |
your package has a Makefile that installs everything into |
|
|
28 |
debian/tmp, and you need to break that up into |
|
|
29 |
subpackages. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
Files named debian/package.files list the files to be moved, |
|
|
33 |
separated by whitespace. The filenames listed should be |
|
|
34 |
relative to debian/tmp/. You can also list directory names, |
|
|
35 |
and the whole directory will be moved. If you prefer, you |
|
|
36 |
can list the files to move on the command line and this will |
|
|
37 |
apply to the first package dh_movefiles is told to act |
|
|
38 |
on. |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
Note: dh_install is a much better program that can do |
|
|
42 |
everything this one can, and more. |
|
|
43 |
!!OPTIONS |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__--sourcedir=__''dir'' |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
Instead of moving files out of debian/tmp (the default), |
|
|
50 |
this option makes it move files out of some other directory. |
|
|
51 |
Since the entire contents of the sourcedir is moved, |
|
|
52 |
specifiying something like --sourcedir=/ is very unsafe, so |
|
|
53 |
to prevent mistakes, the sourcedir must be a relative |
|
|
54 |
filename; it cannot begin with a `/'. |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
''file ...'' |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
Lists files to move. The filenames listed should be relative |
|
|
61 |
to debian/tmp/. You can also list directory names, and the |
|
|
62 |
whole directory will be moved. It is an error to list files |
|
|
63 |
here unless you use -p, -i, or -a to tell dh_movefiles which |
|
|
64 |
subpackage to put them in. |
|
|
65 |
!!NOTES |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
Note that files are always moved out of debian/tmp by |
|
|
69 |
default (even if you have instructed debhelper to use a |
|
|
70 |
compatibility level higher than one, which does not |
|
|
71 |
otherwise use debian/tmp for anything at all). The idea |
|
|
72 |
behind this is that the package that is being built can be |
|
|
73 |
told to install into debian/tmp, and then files can be moved |
|
|
74 |
by dh_movefiles from that directory. Any files or |
|
|
75 |
directories that remain are ignored, and get deleted by |
|
|
76 |
dh_clean later. |
|
|
77 |
!!SEE ALSO |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
debhelper(1) |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
This program is a part of debhelper. |
|
|
84 |
!!AUTHOR |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
Joey Hess |
|
|
88 |
---- |