help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make 4.0 q option return value change


From: Krzysztof Cieniuch
Subject: make 4.0 q option return value change
Date: Fri, 13 Dec 2013 14:56:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

Hi,

Given following makefile in empty directory:
#==================
.PHONY: all

all: cap

cap:
    touch $(@)
#==================

Running make 3.81 from command line gives different exit code then 4.0 i.e

make 3.81
/usr/bin/make  -q ; echo $?
1

make 4.0
/opt/make-4.0/bin/make  -q ; echo $?
2


so 3.81 correctly reports that target is out of date (since there is no cap file in current dir) but make 4.0 reports that there is error but no error message is actually printed. Was there any (undocumented) change in exit codes interpretation for -q option ?

Thanks
Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]