On Wed, 2026-11-04 at 18:31 -0800, Philip Guenther wrote:
> It shouldn't say that because that's not true.
> 
> The "How to Run `make'" page describes the exit status of make and
> it's true of "make -n" as well.  In particular, it will have exit
> status 2 if something fails, such as the processing to update a
> Makefile, and "make -nq" will return 1 if something wasn't up to
> date.

Right.  Example:

$ echo 'foo: ; +exit 1' | make -n -f-
exit 1
make: *** [/tmp/GmVPa0Xa:1: foo] Error 1

$ echo $?
2

Reply via email to