File: Makefile.PL

package info (click to toggle)
libapache2-mod-perl2 2.0.9~1624218-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,840 kB
  • sloc: perl: 95,064; ansic: 14,522; makefile: 49; sh: 18
file content (40 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (8)
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",
    },
);