Browse files

[lazy-k] Add a Configure.pl

git-svn-id: http://svn.perl.org/parrot/trunk@35987 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent df8c5f0 commit a68f9ac824842ff9970d5e49d5bb286949fd18fa bernhard committed Jan 25, 2009
Showing with 24 additions and 3 deletions.
  1. +21 −0 Configure.pl
  2. +3 −3 config/makefiles/root.in
View
21 Configure.pl
@@ -0,0 +1,21 @@
+# $Id$
+# Copyright (C) 2009, The Perl Foundation.
+
+use strict;
+use warnings;
+use 5.008;
+
+my $build_dir = '../..';
+my $hll = 'lazy-k';
+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:
View
6 config/makefiles/root.in
@@ -26,15 +26,15 @@ help :
@echo ""
@echo " test: run the test suite,"
@echo ""
- @echo " clean: clean up temporary files"
+ @echo " clean: clean up"
@echo ""
- @echo " realclean: clean up generated files"
+ @echo " realclean: clean up and remove Makefile"
@echo ""
@echo " help: print this help message"
# regenerate the Makefile
Makefile: config/makefiles/root.in
- cd $(BUILD_DIR) && $(RECONFIGURE) --step=gen::languages --languages=lazy-k
+ $(PERL) Configure.pl
build:

0 comments on commit a68f9ac

Please sign in to comment.