forked from dekimsey/Pod-Perldoc
/
Makefile.PL
41 lines (35 loc) · 1.03 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Time-stamp: "2003-10-21 16:56:41 ADT"
require 5;
use 5.006; # Perldoc.pm currently needs at least this version
use strict;
use warnings;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Pod::Perldoc',
'VERSION_FROM' => 'lib/Pod/Perldoc.pm', # finds $VERSION
'ABSTRACT' => 'look up Perl documentation in Pod format',
'EXE_FILES' => [qw( perldoc )],
($] >= 5.008001 ? ( 'INSTALLDIRS' => 'perl' ) : ()),
'PREREQ_PM' => {
# Are there any hard dependencies not covered here?
'Config' => 0,
'Text::ParseWords' => 0,
'Symbol' => 0,
'Fcntl' => 0,
'warnings' => 0,
'strict' => 0,
'File::Temp' => 0,
'File::Spec::Functions' => 0,
},
'dist' => { COMPRESS => 'gzip -6f', SUFFIX => 'gz', },
);
package MY;
sub libscan
{ # Determine things that should *not* be installed
my($self, $path) = @_;
return '' if $path =~ m/~/;
$path;
}
__END__