1DH_MOVEFILES(1)                    Debhelper                   DH_MOVEFILES(1)
2
3
4

NAME

6       dh_movefiles - move files out of debian/tmp into subpackages
7

SYNOPSIS

9       dh_movefiles [debhelper options] [--sourcedir=dir] [-Xitem] [file ...]
10

DESCRIPTION

12       dh_movefiles is a debhelper program that is responsible for moving
13       files out of debian/tmp or some other directory and into other package
14       build directories. This may be useful if your package has a Makefile
15       that installs everything into debian/tmp, and you need to break that up
16       into subpackages.
17
18       Note: dh_install is a much better program, and you are recommended to
19       use it instead of dh_movefiles.
20

FILES

22       debian/package.files
23           Lists the files to be moved into a package, separated by
24           whitespace. The filenames listed should be relative to debian/tmp/.
25           You can also list directory names, and the whole directory will be
26           moved.
27

OPTIONS

29       --sourcedir=dir
30           Instead of moving files out of debian/tmp (the default), this
31           option makes it move files out of some other directory. Since the
32           entire contents of the sourcedir is moved, specifying something
33           like --sourcedir=/ is very unsafe, so to prevent mistakes, the
34           sourcedir must be a relative filename; it cannot begin with a `/'.
35
36       -Xitem, --exclude=item
37           Exclude files that contain item anywhere in their filename from
38           being installed.
39
40       file ...
41           Lists files to move. The filenames listed should be relative to
42           debian/tmp/. You can also list directory names, and the whole
43           directory will be moved. It is an error to list files here unless
44           you use -p, -i, or -a to tell dh_movefiles which subpackage to put
45           them in.
46

NOTES

48       Note that files are always moved out of debian/tmp by default (even if
49       you have instructed debhelper to use a compatibility level higher than
50       one, which does not otherwise use debian/tmp for anything at all). The
51       idea behind this is that the package that is being built can be told to
52       install into debian/tmp, and then files can be moved by dh_movefiles
53       from that directory. Any files or directories that remain are ignored,
54       and get deleted by dh_clean later.
55

SEE ALSO

57       debhelper(7)
58
59       This program is a part of debhelper.
60

AUTHOR

62       Joey Hess <joeyh@debian.org>
63
64
65
6612.6.1                            2019-10-08                   DH_MOVEFILES(1)
Impressum