URL:
<http://savannah.gnu.org/bugs/?42599>
Summary: .RECIPEPREFIX should not have to be at beginning of
line
Project: make
Submitted by: yost
Submitted on: Sun 22 Jun 2014 01:40:54 PM PDT
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.0
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
.RECIPEPREFIX is a wonderful thing, long overdue. Thanks!
Make should allow the .RECIPEPREFIX character (if it is not a tab) to be
preceded by whitespace.
ifneq 'simple' '$(flavor .RECIPEPREFIX)'
$(error You must use gnu make 4.0 or later)
endif
# This file does not use tabs.
.RECIPEPREFIX := |
ifeq '' ''
all :
| @echo works
endif
gets this error:
0 212 Z% make
Makefile:10: *** missing separator (did you mean TAB instead of 8 spaces?).
Stop.
1 213 Z%
Also it seems to me that this error message needs to be updated for the
situation where .RECIPEPREFIX is set to something other than TAB.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42599>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make