summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-07-12 05:23:19 +0000
committerPaul Smith <psmith@gnu.org>2010-07-12 05:23:19 +0000
commit7ba7dbca47e20159d046fab847ebb0ef6673b24a (patch)
tree77cef333f84b6adaab888e6d79e56c4973f1dca0 /NEWS
parentb85b7e0a55d0a82cf4d108a022d2768483ddc4b6 (diff)
downloadgunmake-7ba7dbca47e20159d046fab847ebb0ef6673b24a.tar.gz
Add the beginning of the .ONESHELL special feature.
Original patch by David Boyce. Modified by Paul Smith.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 10 insertions, 0 deletions
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