On Wed, 2014-04-30 at 18:19 +0200, Guillem Jover wrote:
> build-stamp:
>         echo $@
> 
> build-arch: build-stamp

> $ make --version | head -n1
> GNU Make 4.0
> $ make -f detect.mk -qn build-arch; echo $?
> 2

This is definitely a bug in GNU make 4.0 in handling -q (note the -n is
not relevant: you can leave it out and get the same behavior).  The docs
are clear on what the exit codes should be, and with -q make should exit
with 1 if something needs to be updated and no error was detected.



-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1398875988.14617.3.camel@pdsdesk

Reply via email to