line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Install::Admin::Compiler; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1110
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
5
|
use Module::Install::Base; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
5
|
1
|
|
|
1
|
|
4
|
use File::Remove (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
6
|
1
|
|
|
1
|
|
3059
|
use Devel::PPPort (); |
|
1
|
|
|
|
|
436
|
|
|
1
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
9
|
use vars qw{$VERSION @ISA}; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
93
|
|
9
|
|
|
|
|
|
|
BEGIN { |
10
|
1
|
|
|
1
|
|
5
|
$VERSION = '1.19'; |
11
|
1
|
|
|
|
|
142
|
@ISA = qw{Module::Install::Base}; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub ppport { |
15
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
16
|
0
|
|
0
|
|
|
|
my $file = shift || 'ppport.h'; |
17
|
0
|
0
|
|
|
|
|
if ( -f $file ) { |
18
|
|
|
|
|
|
|
# Update the file to a newer version |
19
|
0
|
|
|
|
|
|
File::Remove::remove($file); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# Install the file (and remove on realclean) |
23
|
0
|
0
|
|
|
|
|
Devel::PPPort::WriteFile( $file ) or die "Failed to write $file"; |
24
|
0
|
|
|
|
|
|
$self->realclean_files( $file ); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |