URL:
<http://savannah.gnu.org/bugs/?43901>
Summary: Stop on error when build -include
Project: make
Submitted by: andigor
Submitted on: Пнд 29 Дек 2014 12:44:32
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.1
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
Hi guys
Currently I stucked on such problem:
We have a build system based on GNU make. It has a lot of generated headers,
files, xml's etc. Also it generates makefile includes:
-include a.mk
a.mk:
touch a.mk
It is a cool thing that gnu make ignores missed prerequisites for for files
which were included using -include directive:
-include a.mk
a.mk: b.txt
touch a.mk
because b.txt does not exist yet but will be generated later.
But on the other hand in next example we need to stop because the error in
build was encountered
-include a.mk
a.mk: b.txt
some-inappropriate-operation
touch a.mk
To deal with it we temporaly removed #13216 bugfix
Maybe it is a good reason to add something like +include feature or something
similar to fix the problem ?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43901>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make