1
# A template for Makefile.PL.
2
# - Set the $PACKAGE variable to the name of your module.
3
# - Set $LAST_API_CHANGE to reflect the last version you changed the API
5
# - Fill in your dependencies in PREREQ_PM
6
# Alternatively, you can say the hell with this and use h2xs.
10
use ExtUtils::MakeMaker;
12
$PACKAGE = 'Module::Info';
13
($PACKAGE_FILE = $PACKAGE) =~ s|::|/|g;
16
eval "require $PACKAGE";
18
unless ($@) { # Make sure we did find the module.
19
print <<"CHANGE_WARN" if ${$PACKAGE.'::VERSION'} < $LAST_API_CHANGE;
21
NOTE: There have been API changes between this version and any older
22
than version $LAST_API_CHANGE! Please read the Changes file if you
23
are upgrading from a version older than $LAST_API_CHANGE.
30
VERSION_FROM => "lib/$PACKAGE_FILE.pm", # finds $VERSION
31
PREREQ_PM => { File::Spec => 0.8 },
32
'dist' => { COMPRESS => 'gzip -9',
34
DIST_DEFAULT => 'all tardist',
36
EXE_FILES => [qw(bin/pfunc bin/module_info)],
43
sub test_via_harness {
44
my($self, $orig_perl, $tests) = @_;
46
my @perls = ($orig_perl);
47
push @perls, qw(bleadperl
55
if $ENV{PERL_TEST_ALL};
58
foreach my $perl (@perls) {
59
$out .= $self->SUPER::test_via_harness($perl, $tests);