>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes:
[...]
adl> What about adding something like the following on top of each
adl> "for/do/done" rule?
adl> set fnord $$MAKEFLAGS; amf=$$2; \
adl> case "$$amf" in *=*) set -e ;; *k*) ;; *) set -e ;; esac; \
adl> The idea is to force `set -e' unless `make -k' is used.
adl> This would free us from all these `|| exit 1'.
Maybe nicer:
am__FOR = set fnord $$MAKEFLAGS && amf=$$2 && \
case "$$amf" in *=*) set -e ;; *k*) ;; *) set -e ;; esac && for
and use `$(am__FOR)' instead of `for' in the Makefiles.
--
Alexandre Duret-Lutz