add Distar config
Matt S Trout [Mon, 23 Jan 2012 17:21:12 +0000 (17:21 +0000)]
Makefile.PL
maint/Makefile.PL.include [new file with mode: 0644]

index 5227b9b..d8d2514 100644 (file)
@@ -2,6 +2,8 @@ use strict;
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
 
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
 WriteMakefile(
   NAME => 'Package-Variant',
   VERSION_FROM => 'lib/Package/Variant.pm',
diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include
new file mode 100644 (file)
index 0000000..ffa6647
--- /dev/null
@@ -0,0 +1,5 @@
+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>';