Man page - dh_movefiles(1)
Packages contas this manual
- dh_installcatalogs(1)
- debhelper-obsolete-compat(7)
- dh_builddeb(1)
- dh_installsystemduser(1)
- dh_auto_configure(1)
- dh_installdeb(1)
- dh_auto_test(1)
- dh_auto_build(1)
- dh_auto_install(1)
- dh_installlogrotate(1)
- dh_assistant(1)
- dh_install(1)
- dh_strip(1)
- dh_systemd_enable(1)
- dh_testdir(1)
- dh_installalternatives(1)
- dh_movetousr(1)
- dh_listpackages(1)
- dh_installsysusers(1)
- dh_shlibdeps(1)
- dh_installpam(1)
- dh_installmenu(1)
- dh_missing(1)
- dh_fixperms(1)
- dh_installtmpfiles(1)
- dh_md5sums(1)
- dh_testroot(1)
- dh_makeshlibs(1)
- dh_lintian(1)
- dh_installcron(1)
- dh_installsystemd(1)
- dh_installinit(1)
- dh_installlogcheck(1)
- dh_installinfo(1)
- dh_link(1)
- dh_installchangelogs(1)
- dh_icons(1)
- dh_installmime(1)
- dh_installmanpages(1)
- dh_bugfiles(1)
- dh_movefiles(1)
- dh_installexamples(1)
- dh_installdebconf(1)
- dh_ucf(1)
- dh_installwm(1)
- dh_installxfonts(1)
- dh_installdirs(1)
- dh_usrlocal(1)
- dh_dwz(1)
- debhelper-compat-upgrade-checklist(7)
- dh_update_autotools_config(1)
- dh_installifupdown(1)
- dh_systemd_start(1)
- dh_clean(1)
- dh_installppp(1)
- dh_auto_clean(1)
- dh(1)
- dh_compress(1)
- dh_prep(1)
- dh_gencontrol(1)
- dh_installgsettings(1)
- dh_installemacsen(1)
- dh_perl(1)
- dh_installdocs(1)
- dh_installinitramfs(1)
- dh_installman(1)
- dh_installudev(1)
- debhelper(7)
- dh_installmodules(1)
apt-get install debhelper
Available languages:
en fr es pt ja deManual
| DH_MOVEFILES(1) | Debhelper | DH_MOVEFILES(1) |
NAME
dh_movefiles - move files out of debian/tmp into subpackages
SYNOPSIS
dh_movefiles [debhelper options] [--sourcedir=dir] [-Xitem] [file ...]
DESCRIPTION
dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that up into subpackages.
Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.
FILES
- debian/package.files
- Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory will be moved.
OPTIONS
- --sourcedir=dir
- Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it cannot begin with a `/'.
- -Xitem, --exclude=item
- Exclude files that contain item anywhere in their filename from being installed.
- file ...
- Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
NOTES
Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are ignored, and get deleted by dh_clean later.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
| 2025-03-29 | 13.24.2 |