From: Matt S Trout Date: Sun, 9 Sep 2012 20:38:00 +0000 (+0000) Subject: switch to Distar for packaging X-Git-Tag: v2012.08002~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e039c7cf312641cbbeeda786af74fb7de65e2d6;p=scpubgit%2FRakudo-Star.git switch to Distar for packaging --- diff --git a/Makefile.PL b/Makefile.PL index 5d6188f..706a9ab 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 => 'Rakudo-Star', VERSION_FROM => 'lib/Rakudo/Star.pm', @@ -25,12 +27,4 @@ install :: rakudoinstall rakudoinstall : cd rakudo-star; make install - -manifest : - rm MANIFEST - $(PERL) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest - echo "rakudo-star/parrot/.gitignore" >>MANIFEST - echo "rakudo-star/parrot/examples/compilers/Makefile" >>MANIFEST - echo "rakudo-star/parrot/examples/embed/Makefile" >>MANIFEST - echo "rakudo-star/parrot/examples/tools/Makefile" >>MANIFEST END diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include new file mode 100644 index 0000000..cd9063b --- /dev/null +++ b/maint/Makefile.PL.include @@ -0,0 +1,12 @@ +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) '; + +manifest_include( + 'rakudo-star' => qr/.*/, +);