]> git.donarmstrong.com Git - debhelper.git/blob - dh_perl.1
r245: Initial Import
[debhelper.git] / dh_perl.1
1 .TH DH_PERL 1 "22 June 1999" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_perl \- calculates perl scripts & modules dependencies
4 .SH SYNOPSIS
5 .B dh_perl
6 .I "[debhelper options] [-k] [-d] [library dirs ...]"
7 .SH "DESCRIPTION"
8 dh_perl is a debhelper program that is responsible for generating
9 the perl:Depends substitutions and adding them to substvars files. 
10 .P
11 The program will look for the location of installed modules and will
12 use this information to generate a dependency (at the present time
13 it can only be perl5, perl5-thread, perl-5.00X or perl-5.00X-thread).
14 .P
15 It will also look at #! lines of perl scripts in order to be able
16 to calculate a dependency for perl scripts and not only perl modules.
17 .P
18 In addition it will automatically remove .packlist file and will
19 remove the directory in which it was if it's empty. You can
20 switch off this option by passing -k.
21 .SH OPTIONS
22 .TP
23 .TP
24 .B debhelper options
25 See
26 .BR debhelper (1)
27 for a list of options common to all debhelper commands.
28 .TP
29 .B -k
30 Keep .packlist files.
31 .TP
32 .B -d
33 In some specific cases you may want to depend on a -base package
34 (ie perl-5.00X-base or perl5-base). If so, you can pass
35 the -d option to make
36 .BR dh_perl 
37 generate a dependency on the correct base package. This is only necessary
38 for some modules that are included in the base system.
39 .TP
40 .B library dirs
41 If your package does install perl modules in non-standard 
42 directories, you can make
43 .BR dh_perl
44 check those directories by passing their names on the command line.
45 .BR dh_perl
46 will only check usr/lib/perl5 by default.
47 .SH ENVIRONMENT
48 See
49 .BR debhelper (1)
50 for a list of environment variables that affect all debhelper commands.
51 .SH "SEE ALSO"
52 .TP
53 .BR debhelper (1)
54 .SH "CONFORMS TO"
55 .P
56 Debian policy, version 2.5.0.0
57 .P
58 Perl policy, version 1.0
59 .SH AUTHOR
60 RaphaĆ«l Hertzog <hertzog@debian.org>