<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,8 +32,8 @@ RM_F          := @rm_f@
 RM_RF         := @rm_rf@
 POD2MAN       := pod2man
 #IF(parrot_is_shared and not(cygwin or win32)):export LD_RUN_PATH := @blib_dir@:$(LD_RUN_PATH)
-PARROT        := ../../parrot@exe@
-PBC_TO_EXE    := ../../pbc_to_exe@exe@
+PARROT        := $(BIN_DIR)/parrot@exe@
+PBC_TO_EXE    := $(BIN_DIR)/pbc_to_exe@exe@
 #IF(darwin):
 #IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
 #IF(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
@@ -50,6 +50,19 @@ BUILTINS_PIR := \
 
 DOCS := README
 
+BUILD_CLEANUPS := \
+  gil.pbc \
+  &quot;src/gen_*.pir&quot; \
+  &quot;*.c&quot; \
+  &quot;*$(O)&quot; \
+  gil@exe@ \
+#IF(win32):  parrot-gil.exe \
+#IF(win32):  parrot-gil.iss \
+#IF(win32):  &quot;setup-parrot-*.exe&quot; \
+  installable_gil@exe@
+
+TEST_CLEANUPS :=
+
 # the default target
 build: gil.pbc
 
@@ -66,7 +79,7 @@ src/gen_grammar.pir: $(PERL6GRAMMAR) src/parser/grammar.pg
 	    --output=src/gen_grammar.pir \
 	    src/parser/grammar.pg
 
-src/gen_actions.pir: $(NQP) $(PCT) src/parser/actions.pm
+src/gen_actions.pir: $(NQP) src/parser/actions.pm
 	$(PARROT) $(PARROT_ARGS) $(NQP) --output=src/gen_actions.pir \
 	    --target=pir src/parser/actions.pm
 
@@ -78,7 +91,6 @@ installable: installable_gil@exe@
 installable_gil@exe@: gil.pbc
 	$(PBC_TO_EXE) gil.pbc --install
 
-# regenerate the Makefile
 Makefile: config/makefiles/root.in
 	$(PERL) Configure.pl
 
@@ -89,12 +101,14 @@ help:
 	@echo &quot;&quot;
 	@echo &quot;  build:             gil.pbc&quot;
 	@echo &quot;                     This is the default.&quot;
-	@echo &quot;  all:               gil.pbc gil@exe@ installable Makefile&quot;
+	@echo &quot;  gil@exe@            Self-hosting binary not to be installed.&quot;
+	@echo &quot;  all:               gil.pbc gil@exe@ installable&quot;
 	@echo &quot;  installable:       Create libs and self-hosting binaries to be installed.&quot;
 	@echo &quot;  install:           Install the installable targets and docs.&quot;
 	@echo &quot;&quot;
 	@echo &quot;Testing:&quot;
 	@echo &quot;  test:              Run the test suite.&quot;
+	@echo &quot;  test-installable:  Test self-hosting targets.&quot;
 	@echo &quot;  testclean:         Clean up test results.&quot;
 	@echo &quot;&quot;
 	@echo &quot;Cleaning:&quot;
@@ -107,7 +121,11 @@ help:
 	@echo &quot;&quot;
 
 test: build
-	$(PERL) t/harness
+	$(PERL) -I$(LIB_DIR)/tools/lib t/harness
+
+# basic run for missing libs
+test-installable: installable
+	echo &quot;1&quot; | ./installable_gil@exe@
 
 install: installable
 	$(CP) installable_gil@exe@ $(BIN_DIR)/parrot-gil@exe@
@@ -131,27 +149,17 @@ win32-inno-installer: installable
 #	-$(MKPATH) man/html
 #	pod2html --infile doc/running.pod --outfile man/html/parrot-gil.html
 	$(CP) installable_gil@exe@ parrot-gil.exe
-	$(PERL) @build_dir@/tools/dev/mk_inno_language.pl gil
+	$(PERL) -I$(LIB_DIR)/tools/lib $(LIB_DIR)/tools/dev/mk_inno_language.pl gil
 	iscc parrot-gil.iss
 
 testclean:
+	$(RM_F) $(TEST_CLEANUPS)
 
-CLEANUPS := \
-  gil.pbc \
-  &quot;src/gen_*.pir&quot; \
-  &quot;*.c&quot; \
-  &quot;*$(O)&quot; \
-  gil@exe@ \
-#IF(win32):  parrot-gil.exe \
-#IF(win32):  parrot-gil.iss \
-#IF(win32):  &quot;setup-parrot-*.exe&quot; \
-  installable_gil@exe@
-
-clean: testclean
-	$(RM_F) $(CLEANUPS)
+clean:
+	$(RM_F) $(TEST_CLEANUPS) $(BUILD_CLEANUPS)
 
-realclean: testclean
-	$(RM_F) $(CLEANUPS) Makefile
+realclean:
+	$(RM_F) $(TEST_CLEANUPS) $(BUILD_CLEANUPS) Makefile
 
 distclean: realclean
 </diff>
      <filename>config/makefiles/root.in</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df3216e5cacf06d8a4a04affcd74515bc22ce0ab</id>
    </parent>
  </parents>
  <author>
    <name>Francois Perrad</name>
    <email>francois.perrad@gadz.org</email>
  </author>
  <url>http://github.com/tene/gil/commit/4b0c6a807258822bce2d4096fb160ca15a45e11f</url>
  <id>4b0c6a807258822bce2d4096fb160ca15a45e11f</id>
  <committed-date>2009-03-16T16:38:12-07:00</committed-date>
  <authored-date>2009-03-14T10:14:09-07:00</authored-date>
  <message>re-run mk_language_shell.pl

Signed-off-by: Stephen Weeks &lt;tene@allalone.org&gt;</message>
  <tree>ac0aa81b89f55e3719730c3ae7908e52ddf2a045</tree>
  <committer>
    <name>Stephen Weeks</name>
    <email>tene@allalone.org</email>
  </committer>
</commit>
