use strict; use warnings FATAL => 'all'; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Rakudo-Star', VERSION_FROM => 'lib/Rakudo/Star.pm', AUTHOR => 'mst - Matt S. Trout (cpan:MSTROUT) ', ); sub MY::postamble { <<'END' } INSTALLRAKUDO=$(INSTALLARCHLIB)/Rakudo/Star/Install all :: rakudo touch blib/arch/auto/Rakudo-Star/force-arch rakudo-star/Makefile : cd rakudo-star; $(PERL) Configure.pl --gen-parrot --prefix=$(INSTALLRAKUDO) rakudo : rakudo-star/Makefile cd rakudo-star; mkdir -p rakudo/blib/Perl6 rakudo/blib/QPerl6; make all 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