.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_MOVEFILES 1" .TH DH_MOVEFILES 1 "2021-03-06" "13.3.4" "Debhelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dh_movefiles \- move files out of debian/tmp into subpackages .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_movefiles\fR [\fIdebhelperĀ options\fR] [\fB\-\-sourcedir=\fR\fIdir\fR] [\fB\-X\fR\fIitem\fR] [\fIfile\fRĀ ...] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBdh_movefiles\fR is a debhelper program that is responsible for moving files out of \fIdebian/tmp\fR or some other directory and into other package build directories. This may be useful if your package has a \fIMakefile\fR that installs everything into \fIdebian/tmp\fR, and you need to break that up into subpackages. .PP Note: \fBdh_install\fR is a much better program, and you are recommended to use it instead of \fBdh_movefiles\fR. .SH "FILES" .IX Header "FILES" .IP "debian/\fIpackage\fR.files" 4 .IX Item "debian/package.files" Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to \fIdebian/tmp/\fR. You can also list directory names, and the whole directory will be moved. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-sourcedir=\fR\fIdir\fR" 4 .IX Item "--sourcedir=dir" Instead of moving files out of \fIdebian/tmp\fR (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 \fB\-\-sourcedir=/\fR is very unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it cannot begin with a `\fB/\fR'. .IP "\fB\-Xitem\fR, \fB\-\-exclude=item\fR" 4 .IX Item "-Xitem, --exclude=item" Exclude files that contain \fBitem\fR anywhere in their filename from being installed. .IP "\fIfile\fR ..." 4 .IX Item "file ..." Lists files to move. The filenames listed should be relative to \&\fIdebian/tmp/\fR. You can also list directory names, and the whole directory will be moved. It is an error to list files here unless you use \fB\-p\fR, \fB\-i\fR, or \fB\-a\fR to tell \fBdh_movefiles\fR which subpackage to put them in. .SH "NOTES" .IX Header "NOTES" Note that files are always moved out of \fIdebian/tmp\fR 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 \fIdebian/tmp\fR, and then files can be moved by \fBdh_movefiles\fR from that directory. Any files or directories that remain are ignored, and get deleted by \fBdh_clean\fR later. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) .PP This program is a part of debhelper. .SH "AUTHOR" .IX Header "AUTHOR" Joey Hess