switch to INSTALLSITEARCH to avoid installing into core for perlbrew perls
[scpubgit/Rakudo-Star.git] / Makefile.PL
CommitLineData
1612b73d 1use strict;
2use warnings FATAL => 'all';
3use ExtUtils::MakeMaker;
4
5WriteMakefile(
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
11sub MY::postamble { <<'END' }
12
b11b29b2 13INSTALLRAKUDO=$(INSTALLSITEARCH)/Rakudo/Star/Install
1612b73d 14
15all :: rakudo
16 touch blib/arch/auto/Rakudo-Star/force-arch
17
18rakudo-star/Makefile :
19 cd rakudo-star; $(PERL) Configure.pl --gen-parrot --prefix=$(INSTALLRAKUDO)
20
21rakudo : rakudo-star/Makefile
0302a100 22 cd rakudo-star; mkdir -p rakudo/blib/Perl6 rakudo/blib/QPerl6; make all
1612b73d 23
24install :: rakudoinstall
25
26rakudoinstall :
27 cd rakudo-star; make install
28
29manifest :
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
36END