-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathMakefile.PL
41 lines (36 loc) · 889 Bytes
/
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
# generate Makefile for building File::Path
#
# Copyright (C) 2007 David Landgren
use strict;
use ExtUtils::MakeMaker;
eval "use ExtUtils::MakeMaker::Coverage";
$@ or print "Adding testcover target\n";
my @license =
do {
my $version = $ExtUtils::MakeMaker::VERSION;
$version =~ tr/_//d;
$version
} > 6.30
? qw(LICENSE perl)
: ();
my @extra_prereq = (
$] < 5.006 ? ('Symbol' => 0) : (),
);
WriteMakefile(
NAME => 'File::Path',
VERSION_FROM => 'Path.pm',
ABSTRACT_FROM => 'Path.pm',
AUTHOR => 'David Landgren',
INSTALLDIRS => ($] >= 5.008001 ? 'perl' : 'site'),
PREREQ_PM => {
'Carp' => 0,
'Cwd' => 0,
'File::Basename' => 0,
'File::Spec' => 0,
@extra_prereq,
},
clean => {
FILES => 'cover_db',
},
@license,
);