[svn:parrot] r35997 - trunk/config/gen/makefiles

[email protected] Sun, 25 Jan 2009 08:51:19 -0800 (PST)
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
Author: rurban
Date: Sun Jan 25 08:51:19 2009
New Revision: 35997

Modified:
   trunk/config/gen/makefiles/root.in

Log:
Fix TT #225, make perl6 installable
- add make installable_perl6 to make installable target



Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	(original)
+++ trunk/config/gen/makefiles/root.in	Sun Jan 25 08:51:19 2009
@@ -477,6 +477,7 @@
 INSTALLABLEPBCMERGE = $(CUR_DIR)/installable_pbc_merge$(EXE)
 INSTALLABLEPDB      = $(CUR_DIR)/installable_parrot_debugger$(EXE)
 INSTALLABLECONFIG   = $(CUR_DIR)/installable_parrot_config$(EXE)
+INSTALLABLEPERL6    = $(CUR_DIR)/installable_perl6$(EXE)
 
 # Libraries
 LIBPARROT_STATIC    = @blib_dir@/@libparrot_static@
@@ -742,7 +743,7 @@
 
 parrot_utils : $(PDUMP) $(DIS) $(PINFO) $(PDB) $(PBCMERGE) $(PBC_TO_EXE) $(PARROT_CONFIG)
 
-installable: all $(INSTALLABLEPARROT) $(INSTALLABLEPDUMP) $(INSTALLABLEDIS) $(INSTALLABLEPINFO) $(INSTALLABLEPDB) $(INSTALLABLEPBCMERGE) $(INSTALLABLECONFIG)
+installable: all $(INSTALLABLEPARROT) $(INSTALLABLEPDUMP) $(INSTALLABLEDIS) $(INSTALLABLEPINFO) $(INSTALLABLEPDB) $(INSTALLABLEPBCMERGE) $(INSTALLABLECONFIG) $(INSTALLABLEPERL6)
 
 
 flags_dummy :
@@ -786,6 +787,11 @@
 	$(CHMOD) 0755 $(PERL6)
 	$(PERL6) -e"say 'Hello, world.'"
 
+$(INSTALLABLEPERL6) : $(PERL6)
+	$(MAKE) languages/perl6 installable_perl6$(EXE)
+	$(CP) languages/perl6/installable_perl6$(EXE) $(INSTALLABLEPERL6)
+	$(CHMOD) 0755 $(INSTALLABLEPERL6)
+
 $(MINIPARROT) : $(SRC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
     lib/Parrot/OpLib/core.pm $(SRC_DIR)/null_config$(O)
 	$(LINK) @ld_out@$@ $(SRC_DIR)/main$(O) $(SRC_DIR)/null_config$(O) \