Checking version 0.01
[Config-Perl-V.git] / Makefile.PL
blob6714a6fa46ddf60ddeca2d720c541980ea56b969
1 #!/usr/bin/perl
3 # Copyright PROCURA B.V. (c) 2009 H.Merijn Brand
5 use strict;
7 use ExtUtils::MakeMaker;
9 my %wm = (
10 NAME => "Config::Perl::V",
11 DISTNAME => "Config-Perl-V",
12 AUTHOR => "H.Merijn Brand <h.m.brand\@xs4all.nl>",
13 VERSION_FROM => "V.pm",
14 ABSTRACT_FROM => "V.pm",
16 PREREQ_PM => { "Config" => 0,
17 "Test::More" => 0,
18 "Test::NoWarnings" => 0,
21 $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl";
23 my $rv = WriteMakefile (%wm);
27 package MY;
29 sub postamble
31 join "\n" =>
32 'cover test_cover:',
33 ' ccache -C',
34 ' cover -test',
35 '',
36 'checkmeta:',
37 ' perl sandbox/genMETA.pl -c',
38 '',
39 'fixmeta: distmeta',
40 ' perl sandbox/genMETA.pl',
41 ' ls -l */META.yml',
42 '',
43 'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
44 ' -@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
45 ' -@cpants_lint.pl $(DISTVNAME).tgz',
46 ' -@rm -f Debian_CPANTS.txt',
47 '';
48 } # postamble