From: sof Date: Sat, 15 Jun 2002 14:45:53 +0000 (+0000) Subject: [project @ 2002-06-15 14:45:53 by sof] X-Git-Tag: Approx_11550_changesets_converted~1962 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=fe44f7ead9cb4eda57b07f6660ac8c3409666d8c [project @ 2002-06-15 14:45:53 by sof] all: restore old behaviour of exiting upon 'boot' failure in a SUBDIR --- diff --git a/Makefile b/Makefile index 97717f4..85c1bed 100644 --- a/Makefile +++ b/Makefile @@ -332,6 +332,7 @@ all :: for i in $(SUBDIRS); do \ if [ -d $$i ]; then \ $(MAKE) -C $$i boot; \ + if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \ $(MAKE) -C $$i all; \ if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \ fi; \