setup Distar
Matt S Trout [Wed, 20 Feb 2013 19:55:36 +0000 (19:55 +0000)]
Makefile.PL
maint/Makefile.PL.include [new file with mode: 0644]

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 },
 );
diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include
new file mode 100644 (file)
index 0000000..8f2298e
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
+use lib 'Distar/lib';
+use Distar;
+
+author 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>';
+
+manifest_include my => qr{.*};
+
+1;