From 29dd32115a499b64638de7db612fa65d7ab1ec00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Perrad?= Date: Sat, 21 Feb 2009 00:04:21 +0100 Subject: [PATCH] fix makefile on linux --- config/makefiles/root.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/makefiles/root.in b/config/makefiles/root.in index 1ec3821..6ac5ad2 100644 --- a/config/makefiles/root.in +++ b/config/makefiles/root.in @@ -18,10 +18,13 @@ PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext PERL = @perl@ RM_F = @rm_f@ CP = @cp@ +CHMOD = @chmod@ CAT = @cat@ MKPATH = @mkpath@ #IF(parrot_is_shared and not(cygwin or win32)):export LD_RUN_PATH := @blib_dir@:$(LD_RUN_PATH) PARROT = ../../parrot@exe@ +PGE = $(PARROT) ../../runtime/parrot/library/PGE/Perl6Grammar.pir +TGE = $(PARROT) ../../compilers/tge/tgc.pir PBC_TO_EXE = ../../pbc_to_exe@exe@ PMCBUILD = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl #IF(darwin): @@ -376,7 +379,8 @@ test-installable: installable install: installable $(CP) installable_lua@exe@ $(BIN_DIR)/parrot-lua@exe@ - @cd $(PMC_DIR) && $(PMCBUILD) copy "--destination=$(LIB_DIR)/dynext" $(PMCS) + $(CHMOD) 0755 $(BIN_DIR)/parrot-lua@exe@ + @cd $(PMCDIR) && $(PMCBUILD) copy "--destination=$(LIB_DIR)/dynext" $(PMCS) -$(MKPATH) $(LIB_DIR)/languages/lua $(CP) lua.pbc $(LIB_DIR)/languages/lua/lua.pbc -$(MKPATH) $(LIB_DIR)/languages/lua/library