man-pages/man1/dh_installdirs.1.html
2021-03-31 01:06:50 +01:00

139 lines
3.2 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DH_INSTALLDIRS</TITLE>
</HEAD><BODY>
<H1>DH_INSTALLDIRS</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">&nbsp;</A>
<H2>NAME</H2>
dh_installdirs - create subdirectories in package build directories
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dh_installdirs</B> [<I>debhelper options</I>] [<B>-A</B>] [<B>--sourcedir=</B><I>dir</I>] [<B>--create-in-sourcedir</B>] [<I>dir</I> ...]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>dh_installdirs</B> is a debhelper program that is responsible for creating
subdirectories in package build directories.
<P>
Many packages can get away with omitting the call to <B>dh_installdirs</B>
completely. Notably, other <B>dh_*</B> commands are expected to create
directories as needed.
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="1">debian/<I>package</I>.dirs<DD>
Lists directories to be created in <I>package</I>.
<P>
Generally, there is no need to list directories created by the
upstream build system or directories needed by other <B>debhelper</B>
commands.
<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">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="2"><B>-A</B>, <B>--all</B><DD>
Create any directories specified by command line parameters in <FONT SIZE="-1">ALL</FONT> packages
acted on, not just the first.
<DT id="3"><B>--create-in-sourcedir</B>, <B>--no-create-in-sourcedir</B><DD>
Whether to create the specified directories in the source directory
(usually <I>debian/tmp</I>) <I>in addition to</I> in the package build directory
(usually <I>debian/package</I>).
<P>
The default is <B>--no-create-in-sourcedir</B>.
<DT id="4"><B>--sourcedir=</B><I>dir</I><DD>
Consider <I>dir</I> the source directory for the packages acted on instead
of the default (which is usually <I>debian/tmp</I>).
<P>
Please note that this option is dependent on the
<B>--create-in-sourcedir</B> option (when <B>--no-create-in-sourcedir</B> is
in effect, this option does nothing in <B>dh_installdirs</B>).
<DT id="5"><I>dir</I> ...<DD>
Create these directories in the package build directory of the first
package acted on. (Or in all packages if <B>-A</B> is specified.)
</DL>
<A NAME="lbAG">&nbsp;</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="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Joey Hess &lt;<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAE">FILES</A><DD>
<DT id="10"><A HREF="#lbAF">OPTIONS</A><DD>
<DT id="11"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="12"><A HREF="#lbAH">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>