File: Makefile.PL

package info (click to toggle)
apache2 2.4.65-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 59,148 kB
  • sloc: ansic: 211,971; python: 13,977; perl: 11,307; sh: 7,102; php: 1,315; javascript: 1,314; awk: 749; makefile: 712; lex: 374; yacc: 161; xml: 2
file content (40 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (9)
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",
    },
);