fetch version of star based on dist version
[scpubgit/Rakudo-Star.git] / Makefile.PL
CommitLineData
1612b73d 1use strict;
2use warnings FATAL => 'all';
3use ExtUtils::MakeMaker;
4
5WriteMakefile(
6 NAME => 'Rakudo-Star',
7 VERSION => '2012.08_000',
8);
9
10sub MY::postamble { <<'END' }
11
12INSTALLRAKUDO=$(INSTALLARCHLIB)/Rakudo/Star/Install
13
14all :: rakudo
15 touch blib/arch/auto/Rakudo-Star/force-arch
16
17rakudo-star/Makefile :
18 cd rakudo-star; $(PERL) Configure.pl --gen-parrot --prefix=$(INSTALLRAKUDO)
19
20rakudo : rakudo-star/Makefile
21 cd rakudo-star; make all
22
23install :: rakudoinstall
24
25rakudoinstall :
26 cd rakudo-star; make install
27
28manifest :
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
35END