159 lines
4.1 KiB
HTML
159 lines
4.1 KiB
HTML
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<HTML><HEAD><TITLE>Man page of DH_INSTALLEXAMPLES</TITLE>
|
||
</HEAD><BODY>
|
||
<H1>DH_INSTALLEXAMPLES</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_installexamples - install example files into package build directories
|
||
<A NAME="lbAC"> </A>
|
||
<H2>SYNOPSIS</H2>
|
||
|
||
|
||
|
||
<B>dh_installexamples</B> [<I>debhelper options</I>] [<B>-A</B>] [<B>-X</B><I>item</I>] [<I>file</I> ...]
|
||
<A NAME="lbAD"> </A>
|
||
<H2>DESCRIPTION</H2>
|
||
|
||
|
||
|
||
<B>dh_installexamples</B> is a debhelper program that is responsible for
|
||
installing examples into <I>usr/share/doc/package/examples</I> in package
|
||
build directories.
|
||
<P>
|
||
|
||
From debhelper compatibility level 11 on, <B>dh_install</B> will fall back to
|
||
looking in <I>debian/tmp</I> for files, if it does not find them in the current
|
||
directory (or wherever you've told it to look using <B>--sourcedir</B>).
|
||
<A NAME="lbAE"> </A>
|
||
<H2>FILES</H2>
|
||
|
||
|
||
|
||
<DL COMPACT>
|
||
<DT id="1">debian/<I>package</I>.examples<DD>
|
||
|
||
|
||
Lists example files or directories to be installed.
|
||
|
||
|
||
<P>
|
||
|
||
|
||
Supports substitution variables in compat 13 and later as
|
||
documented in <B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7).
|
||
</DL>
|
||
<A NAME="lbAF"> </A>
|
||
<H2>OPTIONS</H2>
|
||
|
||
|
||
|
||
<DL COMPACT>
|
||
<DT id="2"><B>-A</B>, <B>--all</B><DD>
|
||
|
||
|
||
Install any files specified by command line parameters in <FONT SIZE="-1">ALL</FONT> packages
|
||
acted on.
|
||
<DT id="3"><B>--sourcedir=</B><I>dir</I><DD>
|
||
|
||
|
||
Look in the specified directory for files to be installed. This option
|
||
requires compat 11 or later (it is silently ignored in compat 10 or earlier).
|
||
|
||
|
||
<P>
|
||
|
||
|
||
Note that this is not the same as the <B>--sourcedirectory</B> option used
|
||
by the <B>dh_auto_</B><I>*</I> commands. You rarely need to use this option, since
|
||
<B>dh_installexamples</B> automatically looks for files in <I>debian/tmp</I> in debhelper
|
||
compatibility level 11 and above.
|
||
<DT id="4"><B>--doc-main-package=</B><I>main-package</I><DD>
|
||
|
||
|
||
Set the main package for a documentation package. This is used to
|
||
install the documentation of the documentation package in <I>/usr/share/doc/main-package</I> as recommended by the Debian policy
|
||
manual 3.9.7 in §12.3.
|
||
|
||
|
||
<P>
|
||
|
||
|
||
In compat 11 (or later), this option is only useful if debhelper's
|
||
auto-detection of the main package is wrong. The option can also be
|
||
used to silence a warning from debhelper when the auto-detection fails
|
||
but the default happens to be correct.
|
||
|
||
|
||
<P>
|
||
|
||
|
||
This option cannot be used when <B>dh_installexamples</B> is instructed to act
|
||
on multiple packages. If you need this option, you will generally
|
||
need to combine it with <B>-p</B> to ensure exactly one package is acted
|
||
on.
|
||
<DT id="5"><B>-X</B><I>item</I>, <B>--exclude=</B><I>item</I><DD>
|
||
|
||
|
||
Exclude files that contain <I>item</I> anywhere in their filename from
|
||
being installed.
|
||
<DT id="6"><I>file</I> ...<DD>
|
||
|
||
|
||
Install these files (or directories) as examples into the first package
|
||
acted on. (Or into all packages if <B>-A</B> is specified.)
|
||
</DL>
|
||
<A NAME="lbAG"> </A>
|
||
<H2>NOTES</H2>
|
||
|
||
|
||
|
||
Note that <B>dh_installexamples</B> will happily copy entire directory hierarchies
|
||
if you ask it to (similar to <B>cp -a</B>). If it is asked to install a
|
||
directory, it will install the complete contents of the directory.
|
||
<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="7"><A HREF="#lbAB">NAME</A><DD>
|
||
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
||
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
||
<DT id="10"><A HREF="#lbAE">FILES</A><DD>
|
||
<DT id="11"><A HREF="#lbAF">OPTIONS</A><DD>
|
||
<DT id="12"><A HREF="#lbAG">NOTES</A><DD>
|
||
<DT id="13"><A HREF="#lbAH">SEE ALSO</A><DD>
|
||
<DT id="14"><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>
|