On Wed, Apr 30 2014, Paul Smith wrote: > 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.
Opened bug in Savannah BTS: https://savannah.gnu.org/bugs/?42249 -- Having a wonderful wine, wish you were beer. Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/> 4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
signature.asc
Description: PGP signature