Re: Suggestion for "errexit" equivalent for $(shell ...)

2023-12-27 Thread DSB
I see that you've researched this thoroughly and aren't asking for suggestions other than an answer to your .SHELL_ERREXIT question but I still thought I'd offer the macro I wrote to solve this. It's not as easy as a flag but at least it's a line-for-line replacement. # Behave like $(shell ...) bu

Re: Suggestion for "errexit" equivalent for $(shell ...)

2023-12-27 Thread paul david
Hi, On 2023-12-27 at 08:55 -05, quoth DSB : > I see that you've researched this thoroughly and aren't asking for > suggestions other than an answer to your .SHELL_ERREXIT question but I still > thought I'd offer the macro I wrote to solve this. It's not as easy as a flag > but at least it's a l

Dropping "call" operator?

2023-12-27 Thread Kaz Kylheku
Hi makesters, What would be wrong with allowing the $(call ...) operator to be elided? Instead $(call macro,a,b,c), why can't we have $(macro a,b,c), if macro doesn't shadow a built-in function? When there are no arguments, we cal invoke it as $(macro), but when there are arguments $(call .