diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-05-02 11:00:01 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-05-02 11:00:01 +0000 |
commit | 1994438bb2a4e052a267744dcec9efb6f8bd3e97 (patch) | |
tree | 14ba9c76003c4a521488d8d8cf1fe1c294acf3d4 /mk | |
parent | 77f15a8e94b54c4ec1c1cbfbb91a90094383f91d (diff) | |
download | haskell-1994438bb2a4e052a267744dcec9efb6f8bd3e97.tar.gz |
fix whitespace problem that shows up on Solaris (x86)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/target.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/target.mk b/mk/target.mk index 0334896b3f..bf82fd430a 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -1069,7 +1069,7 @@ endif # ------------------------------------------------------------------------- # Rules to invoke the current target recursively for each way -ifneq "$(WAYS)" "" +ifneq "$(strip $(WAYS))" "" ifeq "$(way)" "" # NB: the targets exclude @@ -1081,7 +1081,7 @@ all docs TAGS clean distclean mostlyclean maintainer-clean install :: @echo "PWD = $(shell pwd)" @echo "------------------------------------------------------------------------" # Don't rely on -e working, instead we check exit return codes from sub-makes. - @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \ + case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \ for i in $(WAYS) ; do \ echo "------------------------------------------------------------------------"; \ echo "== $(MAKE) way=$$i $@;"; \ |