From: Matt S Trout Date: Thu, 8 Jul 2010 23:57:30 +0000 (+0100) Subject: fixup version bump to nuke Makefile, make Makefile.PL use new location of maint include X-Git-Tag: release_1.0.1~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1d18ad33f0ef56d8156466f544d9a6c781b1568;p=p5sagit%2FModule-Metadata.git fixup version bump to nuke Makefile, make Makefile.PL use new location of maint include --- diff --git a/Makefile.PL b/Makefile.PL index 3f4bae3..6f7be25 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use strict; use warnings FATAL => 'all'; use ExtUtils::MakeMaker; -(do 'Author.PL' or die $@) unless -f 'META.yml'; +(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; WriteMakefile( NAME => 'Module::Metadata', diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include index 04dd585..af16630 100644 --- a/maint/Makefile.PL.include +++ b/maint/Makefile.PL.include @@ -3,10 +3,15 @@ use warnings FATAL => 'all'; my $POSTAMBLE = q{bump: maint/bump-version + rm Makefile bumpminor: maint/bump-version minor + rm Makefile bumpmajor: maint/bump-version major + rm Makefile +upload: $(DISTVNAME).tar$(SUFFIX) + cpan-upload $< }; { @@ -61,7 +66,8 @@ manifest_include( 'xt' => '.t', 'xt/lib' => '.pm', '' => '.PL', - '' => qr{Changes|MANIFEST|README|META\.yml} + '' => qr{Changes|MANIFEST|README|META\.yml}, + 'maint' => qr{[^.].*}, ); 1;