perl.cvs.parrot
[Top] [All Lists]

[svn:parrot] r24238 - trunk/languages/forth/config/makefiles

Subject: [svn:parrot] r24238 - trunk/languages/forth/config/makefiles
From:
Date: Fri, 28 Dec 2007 04:03:35 -0800 PST
Newsgroups: perl.cvs.parrot

Author: bernhard
Date: Fri Dec 28 04:03:25 2007
New Revision: 24238

Modified:
   trunk/languages/forth/config/makefiles/root.in

Log:
[forth]
Regenerate Makefile when the template is touched.


Modified: trunk/languages/forth/config/makefiles/root.in
==============================================================================
--- trunk/languages/forth/config/makefiles/root.in      (original)
+++ trunk/languages/forth/config/makefiles/root.in      Fri Dec 28 04:03:25 2007
@@ -3,6 +3,9 @@
 PARROT = ../../parrot@exe@
 PERL   = @perl@
 RM_RF  = @rm_rf@
+RECONFIGURE   = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+
+BUILD_DIR     = @build_dir@
 
 DEPENDENCIES = \
     forth.pbc \
@@ -13,6 +16,10 @@
 
 all: $(DEPENDENCIES)
 
+# regenerate the Makefile
+Makefile: config/makefiles/root.in
+       cd $(BUILD_DIR) && $(RECONFIGURE) --step=gen::languages 
--languages=forth
+
 prompt: all
        $(PARROT) forth.pbc
 

<Prev in Thread] Current Thread [Next in Thread>
  • [svn:parrot] r24238 - trunk/languages/forth/config/makefiles, bernhard <=