1DH_PERL(1) Debhelper DH_PERL(1)
2
3
4
6 dh_perl - calculates Perl dependencies and cleans up after MakeMaker
7
9 dh_perl [debhelper options] [-d] [library dirs ...]
10
12 dh_perl is a debhelper program that is responsible for generating the
13 ${perl:Depends} substitutions and adding them to substvars files.
14
15 The program will look at Perl scripts and modules in your package, and
16 will use this information to generate a dependency on perl or perlapi.
17 The dependency will be substituted into your package's control file
18 wherever you place the token ${perl:Depends}.
19
20 dh_perl also cleans up empty directories that MakeMaker can generate
21 when installing Perl modules.
22
24 -d In some specific cases you may want to depend on perl-base rather
25 than the full perl package. If so, you can pass the -d option to
26 make dh_perl generate a dependency on the correct base package.
27 This is only necessary for some packages that are included in the
28 base system.
29
30 Note that this flag may cause no dependency on perl-base to be
31 generated at all. perl-base is Essential, so its dependency can be
32 left out, unless a versioned dependency is needed.
33
34 -V By default, scripts and architecture independent modules don't
35 depend on any specific version of perl. The -V option causes the
36 current version of the perl (or perl-base with -d) package to be
37 specified.
38
39 library dirs
40 If your package installs Perl modules in non-standard directories,
41 you can make dh_perl check those directories by passing their names
42 on the command line. It will only check the vendorlib and
43 vendorarch directories by default.
44
46 Debian policy, version 3.8.3
47
48 Perl policy, version 1.20
49
51 debhelper(7)
52
53 This program is a part of debhelper.
54
56 Brendan O'Dea <bod@debian.org>
57
58
59
6012.7.3 2020-01-28 DH_PERL(1)