release preparations
[scpubgit/JSON-Diffable.git] / Makefile.PL
index a565fac..7c5ca12 100644 (file)
@@ -1,8 +1,9 @@
 use strict;
-use warnings;
-
+use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
 
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
 my %build_requires = (
     'Test::More'        => 0.98,
 );
@@ -18,7 +19,7 @@ my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 };
 
 WriteMakefile(
   NAME => 'JSON-Diffable',
-  VERSION_FROM => 'lib/JSON/Diffable.pm',
+  VERSION_FROM => 'lib/JSON/Diffable.pm'
   PREREQ_PM => {
     %requires,
     ($mymeta_works ? () : (%build_requires)),
@@ -36,5 +37,4 @@ WriteMakefile(
       )
   ),
   ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
-  LICENSE => 'perl',
-);;
+);