summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/Apache-Test/Apache-TestItSelf/Makefile.PL
blob: ef0d9aebbd644143aaf04e96e4b0a39b49331c62 (plain)
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
use 5.005;

use lib qw(../lib); # Apache-Test/lib
use Apache::Test5005compat;

use strict;
use warnings;

use ExtUtils::MakeMaker;

use Apache::TestMM ();

Apache::TestMM::generate_script('t/TEST');

my @clean_files =
    qw(t/TEST
       Makefile.old
      );

my %prereq = (
    # needed to be able to use one perl version to drive the test
    # suite, but a different version from the tests themselves
    'Test::Harness' => '2.44',
);

WriteMakefile(
    NAME      => 'Apache::TestItSelf',
    PREREQ_PM => \%prereq,
    VERSION   => "0.01",
    NORECURS  => 1, # don't descend into Apache-TestMe
    DIR       => [], # NORECURS is broken in older MM
    dist      => {
        COMPRESS => 'gzip -9f', SUFFIX=>'gz',
    },
    clean     => {
        FILES => "@clean_files",
    },
);