Author: fperrad
Date: Wed Jan 14 13:40:28 2009
New Revision: 35554
Added:
trunk/languages/lua/Configure.pl (contents, props changed)
Modified:
trunk/languages/lua/config/makefiles/root.in
Log:
[Lua]
- add a Configure.pl
Added: trunk/languages/lua/Configure.pl
==============================================================================
--- (empty file)
+++ trunk/languages/lua/Configure.pl Wed Jan 14 13:40:28 2009
@@ -0,0 +1,21 @@
+# $Id$
+# Copyright (C) 2009, The Perl Foundation.
+
+use strict;
+use warnings;
+use 5.008;
+
+my $build_dir = '../..';
+my $hll = 'lua';
+my $cmd = qq{$^X -Ilib tools/dev/reconfigure.pl --step=gen::languages --languages=$hll};
+
+print "Running '$cmd' in $build_dir\n";
+chdir $build_dir;
+`$cmd`
+
+# Local Variables:
+# mode: cperl
+# cperl-indent-level: 4
+# fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4:
Modified: trunk/languages/lua/config/makefiles/root.in
==============================================================================
--- trunk/languages/lua/config/makefiles/root.in (original)
+++ trunk/languages/lua/config/makefiles/root.in Wed Jan 14 13:40:28 2009
@@ -14,7 +14,6 @@
PGE = $(PARROT) ../../runtime/parrot/library/PGE/Perl6Grammar.pir
TGE = $(PARROT) ../../compilers/tge/tgc.pir
PBC_TO_EXE = ../../pbc_to_exe@exe@
-RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl
PMCBUILD = $(PERL) @build_dir@/tools/build/dynpmc.pl
#IF(darwin):
#IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
@@ -263,7 +262,7 @@
# regenerate the Makefile
Makefile: config/makefiles/root.in
- cd ../.. && $(RECONFIGURE) --step=gen::languages --languages=lua
+ $(PERL) Configure.pl
help:
@echo ""