|
From: | Dave Yost |
Subject: | [bug #42599] .RECIPEPREFIX should not have to be at beginning of line |
Date: | Sun, 22 Jun 2014 20:40:55 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |