be honest about using File::Spec
[p5sagit/lib-with-preamble.git] / Makefile.PL
index e5eeda8..ec0dc6a 100644 (file)
@@ -1,10 +1,15 @@
 use strict;
 use warnings FATAL => 'all';
+use 5.008001;
 use ExtUtils::MakeMaker;
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 WriteMakefile(
   NAME => 'lib-with-preamble',
-  VERSION => 0,
+  VERSION_FROM => 'lib/lib/with/preamble.pm',
   PM_FILTER => 'perl my/filter',
-  PREREQ_PM => { 'PerlIO::via::dynamic' => 0.02 },
+  PREREQ_PM => {
+    'PerlIO::via::dynamic' => '0.02',
+    'File::Spec' => '0',
+  },
 );