125 lines
3.6 KiB
HTML
125 lines
3.6 KiB
HTML
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<HTML><HEAD><TITLE>Man page of DH_MOVEFILES</TITLE>
|
||
</HEAD><BODY>
|
||
<H1>DH_MOVEFILES</H1>
|
||
Section: Debhelper (1)<BR>Updated: 2020-03-27<BR><A HREF="#index">Index</A>
|
||
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<A NAME="lbAB"> </A>
|
||
<H2>NAME</H2>
|
||
|
||
dh_movefiles - move files out of debian/tmp into subpackages
|
||
<A NAME="lbAC"> </A>
|
||
<H2>SYNOPSIS</H2>
|
||
|
||
|
||
|
||
<B>dh_movefiles</B> [<I>debhelper options</I>] [<B>--sourcedir=</B><I>dir</I>] [<B>-X</B><I>item</I>] [<I>file</I> ...]
|
||
<A NAME="lbAD"> </A>
|
||
<H2>DESCRIPTION</H2>
|
||
|
||
|
||
|
||
<B>dh_movefiles</B> is a debhelper program that is responsible for moving files
|
||
out of <I>debian/tmp</I> or some other directory and into other package build
|
||
directories. This may be useful if your package has a <I>Makefile</I> that installs
|
||
everything into <I>debian/tmp</I>, and you need to break that up into subpackages.
|
||
<P>
|
||
|
||
Note: <B>dh_install</B> is a much better program, and you are recommended to use
|
||
it instead of <B>dh_movefiles</B>.
|
||
<A NAME="lbAE"> </A>
|
||
<H2>FILES</H2>
|
||
|
||
|
||
|
||
<DL COMPACT>
|
||
<DT id="1">debian/<I>package</I>.files<DD>
|
||
|
||
|
||
Lists the files to be moved into a package, separated by whitespace. The
|
||
filenames listed should be relative to <I>debian/tmp/</I>. You can also list
|
||
directory names, and the whole directory will be moved.
|
||
</DL>
|
||
<A NAME="lbAF"> </A>
|
||
<H2>OPTIONS</H2>
|
||
|
||
|
||
|
||
<DL COMPACT>
|
||
<DT id="2"><B>--sourcedir=</B><I>dir</I><DD>
|
||
|
||
|
||
Instead of moving files out of <I>debian/tmp</I> (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 <B>--sourcedir=/</B> is very
|
||
unsafe, so to prevent mistakes, the sourcedir must be a relative filename;
|
||
it cannot begin with a `<B>/</B>'.
|
||
<DT id="3"><B>-Xitem</B>, <B>--exclude=item</B><DD>
|
||
|
||
|
||
Exclude files that contain <B>item</B> anywhere in their filename from
|
||
being installed.
|
||
<DT id="4"><I>file</I> ...<DD>
|
||
|
||
|
||
Lists files to move. The filenames listed should be relative to
|
||
<I>debian/tmp/</I>. You can also list directory names, and the whole directory will
|
||
be moved. It is an error to list files here unless you use <B>-p</B>, <B>-i</B>, or <B>-a</B> to
|
||
tell <B>dh_movefiles</B> which subpackage to put them in.
|
||
</DL>
|
||
<A NAME="lbAG"> </A>
|
||
<H2>NOTES</H2>
|
||
|
||
|
||
|
||
Note that files are always moved out of <I>debian/tmp</I> 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 <I>debian/tmp</I>, and then files can be moved by <B>dh_movefiles</B> from that
|
||
directory. Any files or directories that remain are ignored, and get
|
||
deleted by <B>dh_clean</B> later.
|
||
<A NAME="lbAH"> </A>
|
||
<H2>SEE ALSO</H2>
|
||
|
||
|
||
|
||
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
|
||
<P>
|
||
|
||
This program is a part of debhelper.
|
||
<A NAME="lbAI"> </A>
|
||
<H2>AUTHOR</H2>
|
||
|
||
|
||
|
||
Joey Hess <<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>>
|
||
<P>
|
||
|
||
<HR>
|
||
<A NAME="index"> </A><H2>Index</H2>
|
||
<DL>
|
||
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
||
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
||
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
||
<DT id="8"><A HREF="#lbAE">FILES</A><DD>
|
||
<DT id="9"><A HREF="#lbAF">OPTIONS</A><DD>
|
||
<DT id="10"><A HREF="#lbAG">NOTES</A><DD>
|
||
<DT id="11"><A HREF="#lbAH">SEE ALSO</A><DD>
|
||
<DT id="12"><A HREF="#lbAI">AUTHOR</A><DD>
|
||
</DL>
|
||
<HR>
|
||
This document was created by
|
||
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||
using the manual pages.<BR>
|
||
Time: 00:05:10 GMT, March 31, 2021
|
||
</BODY>
|
||
</HTML>
|