Commit | Line | Data |
1612b73d |
1 | use strict; |
2 | use warnings FATAL => 'all'; |
3 | use ExtUtils::MakeMaker; |
4 | |
5 | WriteMakefile( |
6 | NAME => 'Rakudo-Star', |
e31f6724 |
7 | VERSION_FROM => 'lib/Rakudo/Star.pm', |
8 | AUTHOR => 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>', |
1612b73d |
9 | ); |
10 | |
11 | sub MY::postamble { <<'END' } |
12 | |
13 | INSTALLRAKUDO=$(INSTALLARCHLIB)/Rakudo/Star/Install |
14 | |
15 | all :: rakudo |
16 | touch blib/arch/auto/Rakudo-Star/force-arch |
17 | |
18 | rakudo-star/Makefile : |
19 | cd rakudo-star; $(PERL) Configure.pl --gen-parrot --prefix=$(INSTALLRAKUDO) |
20 | |
21 | rakudo : rakudo-star/Makefile |
22 | cd rakudo-star; make all |
23 | |
24 | install :: rakudoinstall |
25 | |
26 | rakudoinstall : |
27 | cd rakudo-star; make install |
28 | |
29 | manifest : |
30 | rm MANIFEST |
31 | $(PERL) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest |
32 | echo "rakudo-star/parrot/.gitignore" >>MANIFEST |
33 | echo "rakudo-star/parrot/examples/compilers/Makefile" >>MANIFEST |
34 | echo "rakudo-star/parrot/examples/embed/Makefile" >>MANIFEST |
35 | echo "rakudo-star/parrot/examples/tools/Makefile" >>MANIFEST |
36 | END |