Update copyright to 2013
[Config-Perl-V.git] / Makefile.PL
blobc4a7bb7601c2e810ce6a8711e56012bbfa103b55
1 #!/usr/bin/perl
3 # Copyright PROCURA B.V. (c) 2009-2013 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 'spellcheck:',
37 ' pod-spell-check --aspell',
38 '',
39 'checkmeta: spellcheck',
40 ' perl sandbox/genMETA.pl -c',
41 '',
42 'fixmeta: distmeta',
43 ' perl sandbox/genMETA.pl',
44 ' ls -l */META.yml',
45 '',
46 'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
47 ' -@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
48 ' -@cpants_lint.pl $(DISTVNAME).tgz',
49 ' -@rm -f Debian_CPANTS.txt',
50 '';
51 } # postamble