On 07/28/11 23:41, Stephan Beal wrote:
On Thu, Jul 28, 2011 at 9:37 PM, Angel Tsankov<[email protected]>wrote:

If 'make' does not fail on non-zero exit from a command (during variable
expansion) then we have no way to determine if the command completed
successfully (with empty output) or if it failed.  This is my only concern.


Here's one way to do this:

X := $(shell ....>/dev/null 2>&1&&  echo 1 || echo 0)


That seems to work, but seems cumbersome... :(


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to