Here's the minimal makefile needed to reproduce it, and a transcript: ,--- detect.mk --- build-stamp: echo $@
build-arch: build-stamp `--- $ make --version | head -n1 GNU Make 3.81 $ make -f detect.mk -qn build-arch; echo $? 1 $ make --version | head -n1 GNU Make 4.0 $ make -f detect.mk -qn build-arch; echo $? 2 On Wed, Apr 30 2014, Paul Smith wrote: > 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. manoj -- A satirist is a man who discovers unpleasant things about himself and then says them about other people. -- Peter McArthur 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