help-make
[Top][All Lists]
Advanced

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

Catching errors during $(shell ...) function


From: dank
Subject: Catching errors during $(shell ...) function
Date: Tue, 23 Jul 2002 17:01:58 -0700

I'd like make to terminate with an error if 
the program run by $(shell ) exits with a nonzero status,
but make seems to blindly run on.  Example:

BLAH=$(shell /bin/false)
foox:
        echo $(BLAH)

Running this should abort, but it doesn't.  Help!
- Dan



reply via email to

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