line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Install::Admin::Compiler; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
868
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
4
|
use Module::Install::Base; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
14
|
|
5
|
1
|
|
|
1
|
|
3
|
use File::Remove (); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
10
|
|
6
|
1
|
|
|
1
|
|
1145
|
use Devel::PPPort (); |
|
1
|
|
|
|
|
282
|
|
|
1
|
|
|
|
|
17
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
4
|
use vars qw{$VERSION @ISA}; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
44
|
|
9
|
|
|
|
|
|
|
BEGIN { |
10
|
1
|
|
|
1
|
|
2
|
$VERSION = '1.18'; |
11
|
1
|
|
|
|
|
82
|
@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; |