line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## |
2
|
|
|
|
|
|
|
# name: Module::Install::Debian::Perl |
3
|
|
|
|
|
|
|
# abstract: Module::Install Support for Debian::Perl |
4
|
|
|
|
|
|
|
# author: Ingy döt Net |
5
|
|
|
|
|
|
|
# license: perl |
6
|
|
|
|
|
|
|
# copyright: 2011 |
7
|
|
|
|
|
|
|
# see: |
8
|
|
|
|
|
|
|
# - Debian::Perl |
9
|
|
|
|
|
|
|
# - Module::Install |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
package Module::Install::Debian::Perl; |
12
|
1
|
|
|
1
|
|
4199
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
46
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# use base 'Module::Install::Base'; |
15
|
1
|
|
|
1
|
|
699
|
use Module::Install::Base; use vars '@ISA'; BEGIN { @ISA = 'Module::Install::Base' } |
|
1
|
|
|
1
|
|
3
|
|
|
1
|
|
|
1
|
|
111
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
|
1
|
|
|
|
|
39
|
|
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
6
|
use constant AUTHOR => 1; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
133
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub debian { |
20
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
21
|
0
|
0
|
|
|
|
|
return unless $self->is_admin; |
22
|
0
|
|
|
|
|
|
$self->postamble(<<'...'); |
23
|
|
|
|
|
|
|
debian:: |
24
|
|
|
|
|
|
|
$(PERL) -Ilib -MDebian::Perl -e "Debian::Perl::make_debian" |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
release:: |
27
|
|
|
|
|
|
|
$(PERL) -Ilib -MDebian::Perl -e "Debian::Perl::make_release" |
28
|
|
|
|
|
|
|
... |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
In your Makefile.PL; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
use inc::Module::Install; |
38
|
|
|
|
|
|
|
... |
39
|
|
|
|
|
|
|
debian; |
40
|
|
|
|
|
|
|
... |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
From the command line: |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
> perl Makefile.PL |
45
|
|
|
|
|
|
|
> make debian |
46
|
|
|
|
|
|
|
> make release |