From b34438bee83ee906a23b881f257e684a0993b9b1 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 18 Apr 2011 01:25:20 +0000 Subject: Add new feature: != shell assignment for portability with BSD make. Feature submitted by David Wheeler. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4c16994..7d2155a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2011-04-17 David A. Wheeler + + * doc/make.texi (Reading Makefiles): Document "!=". + (Setting): Ditto. + (Features): Ditto. + * variable.h (enum variable_flavor): New type "f_shell". + * variable.c (shell_result): Send a string to the shell and store + the output. + (do_variable_definition): Handle f_shell variables: expand the + value, then send it to the shell and store the result. + (parse_variable_definition): Parse "!=" shell assignments. + * read.c (get_next_mword): Treat "!=" as a varassign word. + * function.c (fold_newlines): If trim_newlines is set remove all + trailing newlines; otherwise remove only the last newline. + (func_shell_base): Move the guts of the shell function here. + (func_shell): Call func_shell_base(). + 2011-02-21 Paul Smith * strcache.c (various): Increase performance based on comments -- cgit v1.2.3