]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 41983] Support omitting the text argument to $(file ...)
authorPaul Smith <psmith@gnu.org>
Tue, 8 Apr 2014 22:25:27 +0000 (18:25 -0400)
committerPaul Smith <psmith@gnu.org>
Mon, 7 Jul 2014 05:59:03 +0000 (01:59 -0400)
commite364498113e145b5ac424325e3903cc2287d7e7f
treee27af5556c7f8ff34393979ea4b2a3a206052202
parent85047eb9044d4b72d50e6620c505c675d55ab98b
[SV 41983] Support omitting the text argument to $(file ...)

Reported by Tim Murphy <tnmurphy@gmail.com>
* function.c (func_file): Only write TEXT if it is not NULL.
* NEWS, doc/make.texi: Document the new feature
* tests/scripts/functions/file: Verify that the no-text version of
  $(file ...) works and doesn't add a newline.
NEWS
doc/make.texi
function.c
tests/scripts/functions/file