]> git.donarmstrong.com Git - debhelper.git/blob - dh_movefiles.1
r412: * Bah, reverted that last change. It isn't useful because
[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. If you
16 prefer, you can list the files to move on the command line and this will
17 apply to the first package dh_movefiles is told to act on.
18 .SH OPTIONS
19 .TP
20 .B debhelper options
21 See
22 .BR debhelper (1)
23 for a list of options common to all debhelper commands.
24 .TP
25 .B --sourcedir=dir
26 Instead of moving files out of debian/tmp (the default), this option makes
27 it move files out of some other directory. Since the entire contents of
28 the sourcedir is moved, specifiying something like --sourcedir=/ is very
29 unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it
30 cannot begin with a `/'.
31 .TP
32 .B file ..
33 Lists files to move. The filenames listed should be relative to debian/tmp/.
34 You can also list directory names, and the whole directory will be moved. You
35 can even use wildcards if you like. It is an error to list files here unless
36 you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
37 .SH NOTES
38 Note that files are always moved out of debian/tmp by default (even if you
39 have instructed debhelper to use a compatability level higher than one,
40 which does not otherwise use debian/tmp for anything at all). The idea
41 behind this is that the package that is being built can be told to install
42 into debian/tmp, and then files can be moved by dh_movefiles from that
43 directory. Any files or directories that remain are ignored, and get
44 deleted by dh_clean later.
45 .SH ENVIRONMENT
46 See
47 .BR debhelper (1)
48 for a list of environment variables that affect all debhelper commands.
49 .SH "SEE ALSO"
50 .BR debhelper (1)
51 .SH AUTHOR
52 Joey Hess <joeyh@debian.org>