From 7ba7dbca47e20159d046fab847ebb0ef6673b24a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 12 Jul 2010 05:23:19 +0000 Subject: Add the beginning of the .ONESHELL special feature. Original patch by David Boyce. Modified by Paul Smith. --- NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b9577c9..41b0daa 100644 --- a/NEWS +++ b/NEWS @@ -71,6 +71,16 @@ Version 3.81.90 the shell when it invokes recipes. By default the value will be "-c" (or "-ec" if .POSIX is set). +* New special target: .ONESHELL instructs make to invoke a single instance of + the shell and provide it with the entire recipe, regardless of how many + lines it contains. As a special feature to allow more straightforward + conversion of makefiles to use .ONESHELL, any recipe line control characters + ('@', '+', or '-') will be removed from the second and subsequent recipe + lines. This happens _only_ if the SHELL value is deemed to be a standard + POSIX-style shell. If not, then no interior line control characters are + removed (as they may be part of the scripting language used with the + alternate SHELL). + * New variable modifier 'private': prefixing a variable assignment with the modifier 'private' suppresses inheritance of that variable by prerequisites. This is most useful for target- and pattern-specific -- cgit v1.2.3