factor out author targets into a plain Makefile.include
[p5sagit/Module-Metadata.git] / maint / Makefile.PL.include
index 04dd585..13fec7d 100644 (file)
@@ -1,14 +1,6 @@
 use strict;
 use warnings FATAL => 'all';
 
-my $POSTAMBLE = q{bump:
-       maint/bump-version
-bumpminor:
-       maint/bump-version minor
-bumpmajor:
-       maint/bump-version major
-};
-
 {
   package MY;
 
@@ -20,7 +12,7 @@ bumpmajor:
     shift->SUPER::find_tests.' xt/*.t';
   }
 
-  sub postamble { $POSTAMBLE }
+  sub postamble { 'include maint/Makefile.include' }
 }
 
 {
@@ -61,7 +53,8 @@ manifest_include(
   'xt' => '.t',
   'xt/lib' => '.pm',
   '' => '.PL',
-  '' => qr{Changes|MANIFEST|README|META\.yml}
+  '' => qr{Changes|MANIFEST|README|META\.yml},
+  'maint' => qr{[^.].*},
 );
 
 1;