bug-make
[Top][All Lists]
Advanced

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

no error message if use '-include' of non-existent file and then set it


From: Yaroslav Sokolov
Subject: no error message if use '-include' of non-existent file and then set it as dependance
Date: Thu, 12 Apr 2001 15:12:30 +0400
User-agent: Mutt/1.3.12i

Hello,
I watched the next feature:
If I use '-include <non-existent_file>' and then
set this <non-existent_file> as dependence to building target,
the make exits with error code 2 but without any textual error
message.

I found it in GNU Make version 3.79.1.

How to repeat:

#!/bin/sh
cat <<EOF >Makefile
-include not_existent_file
all: not_existent_file ; echo MAKING
EOF

then run 'make' - no output,
run 'echo $?' - output:
2

-- 
                                        Yaroslav M. Sokolov



reply via email to

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