File: Makefile.PL

package info (click to toggle)
libtest-taint-perl 1.06-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 168 kB
  • ctags: 126
  • sloc: perl: 499; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (2)
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
use 5.6.1;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME                => 'Test::Taint',
    VERSION_FROM        => 'Taint.pm',
    ABSTRACT            => "Checks for taintedness of variables",
    PREREQ_PM => {
        'overload'      => 0,
        'Scalar::Util'  => 0,
        'Test::Builder' => 0,
        'Test::More'    => 0,
        'Tie::Array'    => 0,
        'Tie::Hash'     => 0,
        'Tie::Scalar'   => 0,
    },
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean               => { FILES => 'Test-Taint-*' },
);

sub MY::postamble {
    return <<'MAKE';
.PHONY: critic

critic:
	perlcritic -1 -q -profile perlcriticrc Taint.pm t/*.t
MAKE
}