Ticket #225: tt225-make-perl6-installable.patch

File tt225-make-perl6-installable.patch , 1.4 KB (added by rurban, 5 years ago)
Line 
1Index: config/gen/makefiles/root.in
2===================================================================
3--- config/gen/makefiles/root.in        (revision 35996)
4+++ config/gen/makefiles/root.in        (working copy)
5@@ -477,6 +477,7 @@
6 INSTALLABLEPBCMERGE = $(CUR_DIR)/installable_pbc_merge$(EXE)
7 INSTALLABLEPDB      = $(CUR_DIR)/installable_parrot_debugger$(EXE)
8 INSTALLABLECONFIG   = $(CUR_DIR)/installable_parrot_config$(EXE)
9+INSTALLABLEPERL6    = $(CUR_DIR)/installable_perl6$(EXE)
10 
11 # Libraries
12 LIBPARROT_STATIC    = @blib_dir@/@libparrot_static@
13@@ -742,7 +743,7 @@
14 
15 parrot_utils : $(PDUMP) $(DIS) $(PINFO) $(PDB) $(PBCMERGE) $(PBC_TO_EXE) $(PARROT_CONFIG)
16 
17-installable: all $(INSTALLABLEPARROT) $(INSTALLABLEPDUMP) $(INSTALLABLEDIS) $(INSTALLABLEPINFO) $(INSTALLABLEPDB) $(INSTALLABLEPBCMERGE) $(INSTALLABLECONFIG)
18+installable: all $(INSTALLABLEPARROT) $(INSTALLABLEPDUMP) $(INSTALLABLEDIS) $(INSTALLABLEPINFO) $(INSTALLABLEPDB) $(INSTALLABLEPBCMERGE) $(INSTALLABLECONFIG) $(INSTALLABLEPERL6)
19 
20 
21 flags_dummy :
22@@ -786,6 +787,11 @@
23        $(CHMOD) 0755 $(PERL6)
24        $(PERL6) -e"say 'Hello, world.'"
25 
26+$(INSTALLABLEPERL6) : $(PERL6)
27+       $(MAKE) languages/perl6 installable_perl6$(EXE)
28+       $(CP) languages/perl6/installable_perl6$(EXE) $(INSTALLABLEPERL6)
29+       $(CHMOD) 0755 $(INSTALLABLEPERL6)
30+
31 $(MINIPARROT) : $(SRC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
32     lib/Parrot/OpLib/core.pm $(SRC_DIR)/null_config$(O)
33        $(LINK) @ld_out@$@ $(SRC_DIR)/main$(O) $(SRC_DIR)/null_config$(O) \