diff options
author | Paul Smith <psmith@gnu.org> | 2010-07-12 05:23:19 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-07-12 05:23:19 +0000 |
commit | 7ba7dbca47e20159d046fab847ebb0ef6673b24a (patch) | |
tree | 77cef333f84b6adaab888e6d79e56c4973f1dca0 /NEWS | |
parent | b85b7e0a55d0a82cf4d108a022d2768483ddc4b6 (diff) | |
download | gunmake-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-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |