]> git.donarmstrong.com Git - debhelper.git/blob - dh_movefiles.1
r348: * Fixes for perl 5.6.
[debhelper.git] / dh_movefiles.1
1 .TH DH_MOVEFILES 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_movefiles \- move files out of debian/tmp into subpackages
4 .SH SYNOPSIS
5 .B dh_movefiles
6 .I "[debhelper options] [--sourcedir=dir] [file ..]"
7 .SH "DESCRIPTION"
8 dh_movefiles is a debhelper program that is responsible for moving files out
9 of debian/tmp or some other directory and into other package build 
10 directories. This may be useful if your package has a Makefile that installs
11 everything into debian/tmp, and you need to break that up into subpackages.
12 .P
13 Files named debian/package.files list the files to be moved, separated by
14 whitespace. The filenames listed should be relative to debian/tmp/. You can
15 also list directory names, and the whole directory will be moved. You can
16 even use wildcards if you like. If you prefer, you can list the files to
17 move on the command line and this will apply to the first package
18 dh_movefiles is told to act on.
19 .P
20 The files will be moved in a special order: first all normal files, then all
21 symlinks. This is done because it tends to be a good thing to have symlinks
22 last in debian packages, particularly in shared library packages.
23 .SH OPTIONS
24 .TP
25 .B debhelper options
26 See
27 .BR debhelper (1)
28 for a list of options common to all debhelper commands.
29 .TP
30 .B --sourcedir=dir
31 Instead of moveing files out of debian/tmp (the default), this option makes
32 it move files out of some other directory. Since the entire contents of
33 the sourcedir is moved, specifiying something like --sourcedir=/ is very
34 unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it
35 cannot begin with a `/'.
36 .TP
37 .B file ..
38 Lists files to move. The filenames listed should be relative to debian/tmp/.
39 You can also list directory names, and the whole directory will be moved. You
40 can even use wildcards if you like. It is an error to list files here unless
41 you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
42 .SH ENVIRONMENT
43 See
44 .BR debhelper (1)
45 for a list of environment variables that affect all debhelper commands.
46 .SH "SEE ALSO"
47 .BR debhelper (1)
48 .SH AUTHOR
49 Joey Hess <joeyh@debian.org>