[bug #28092] $(shell false) should break build

2009-11-26 Thread Stepan Koltsov
Follow-up Comment #6, bug #28092 (project make): Timothy, you've proven that you can work around make limitations. ___ Reply to this item at: ___ Messa

[bug #28092] $(shell false) should break build

2009-11-26 Thread Timothy N Murphy
Follow-up Comment #5, bug #28092 (project make): Hi, Ok, Mk2 then: a:=$(shell echo "don't mess up this output"; echo " $$?") code:=$(lastword $(a)) output:=$(strip $(patsubst %$(code),%,$(a))) $(info exit code='$(code)') $(info output='$(output)') [tnmur...@4gbl06592 ~]$ make -f t4.mk exit

[bug #28092] $(shell false) should break build

2009-11-26 Thread Stepan Koltsov
Follow-up Comment #4, bug #28092 (project make): Timothy, echo $$? mixes up command output and exit code in single variable, it is not acceptable. ___ Reply to this item at: ___

[bug #28092] $(shell false) should break build

2009-11-26 Thread Timothy N Murphy
Follow-up Comment #3, bug #28092 (project make): To get the exit code: a:=$(shell cat fred.txt; echo $$?) $(info exit=$(a)) make -f t.mk cat: fred.txt: No such file or directory exit=1 ___ Reply to this item at: