forked from maxmind/mod_maxminddb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
39 lines (31 loc) · 788 Bytes
/
Makefile.PL
File metadata and controls
39 lines (31 loc) · 788 Bytes
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
require 5.6.1;
use ExtUtils::MakeMaker;
use lib qw(../blib/lib lib );
use Apache::TestMM qw(test clean); #enable 'make test'
# prerequisites
my %require = (
"Apache::Test" => 0, # any version will do
);
my @scripts = qw(t/TEST);
# accept the configs from command line
Apache::TestMM::filter_args();
Apache::TestMM::generate_script('t/TEST');
WriteMakefile(
NAME => 'Apache::Test_mod_maxminddb',
VERSION_FROM => 'lib/Apache/TestModMaxMindDB.pm',
PREREQ_PM => \%require,
clean => {
FILES => "@{ clean_files() }",
},
(
$] >= 5.005
? (
ABSTRACT => 'Testing mod_maxminddb',
AUTHOR => 'bz',
)
: ()
),
);
sub clean_files {
return [@scripts];
}