setup Distar
[p5sagit/lib-with-preamble.git] / Makefile.PL
index e5eeda8..cfc4d6d 100644 (file)
@@ -1,10 +1,12 @@
 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 },
 );