automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install failures are ignored


From: Alexandre Duret-Lutz
Subject: Re: Install failures are ignored
Date: 30 Aug 2002 22:36:52 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "adl" == Alexandre Duret-Lutz <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]