initial import of star builder
[scpubgit/Rakudo-Star.git] / Makefile.PL
1 use strict;
2 use warnings FATAL => 'all';
3 use ExtUtils::MakeMaker;
4
5 WriteMakefile(
6   NAME => 'Rakudo-Star',
7   VERSION => '2012.08_000',
8 );
9
10 sub MY::postamble { <<'END' }
11
12 INSTALLRAKUDO=$(INSTALLARCHLIB)/Rakudo/Star/Install
13
14 all :: rakudo
15         touch blib/arch/auto/Rakudo-Star/force-arch
16
17 rakudo-star/Makefile :
18         cd rakudo-star; $(PERL) Configure.pl --gen-parrot --prefix=$(INSTALLRAKUDO)
19
20 rakudo : rakudo-star/Makefile
21         cd rakudo-star; make all
22
23 install :: rakudoinstall
24
25 rakudoinstall :
26         cd rakudo-star; make install
27
28 manifest :
29         rm MANIFEST
30         $(PERL) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
31         echo "rakudo-star/parrot/.gitignore" >>MANIFEST
32         echo "rakudo-star/parrot/examples/compilers/Makefile" >>MANIFEST
33         echo "rakudo-star/parrot/examples/embed/Makefile" >>MANIFEST
34         echo "rakudo-star/parrot/examples/tools/Makefile" >>MANIFEST
35 END