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

120 lines
3.1 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_PERL</TITLE>
</HEAD><BODY>
<H1>DH_PERL</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_perl - calculates Perl dependencies and cleans up after MakeMaker
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dh_perl</B> [<I>debhelper options</I>] [<B>-d</B>] [<I>library dirs</I> ...]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>dh_perl</B> is a debhelper program that is responsible for generating
the <B>${perl:Depends}</B> substitutions and adding them to substvars files.
<P>
The program will look at Perl scripts and modules in your package,
and will use this information to generate a dependency on <B>perl</B> or
<B>perlapi</B>. The dependency will be substituted into your package's <I>control</I>
file wherever you place the token <B>${perl:Depends}</B>.
<P>
<B>dh_perl</B> also cleans up empty directories that MakeMaker can generate when
installing Perl modules.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-d</B><DD>
In some specific cases you may want to depend on <B>perl-base</B> rather than the
full <B>perl</B> package. If so, you can pass the -d option to make <B>dh_perl</B> generate
a dependency on the correct base package. This is only necessary for some
packages that are included in the base system.
<P>
Note that this flag may cause no dependency on <B>perl-base</B> to be generated at
all. <B>perl-base</B> is Essential, so its dependency can be left out, unless a
versioned dependency is needed.
<DT id="2"><B>-V</B><DD>
By default, scripts and architecture independent modules don't depend
on any specific version of <B>perl</B>. The <B>-V</B> option causes the current
version of the <B>perl</B> (or <B>perl-base</B> with <B>-d</B>) package to be specified.
<DT id="3"><I>library dirs</I><DD>
If your package installs Perl modules in non-standard
directories, you can make <B>dh_perl</B> check those directories by passing their
names on the command line. It will only check the <I>vendorlib</I> and <I>vendorarch</I>
directories by default.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMS TO</H2>
Debian policy, version 3.8.3
<P>
Perl policy, version 1.20
<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>
Brendan O'Dea &lt;<A HREF="mailto:bod@debian.org">bod@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
<DT id="5"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="6"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="7"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="8"><A HREF="#lbAF">CONFORMS TO</A><DD>
<DT id="9"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="10"><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:11 GMT, March 31, 2021
</BODY>
</HTML>