]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 60659] Set $$< properly in second expansion
authorDmitry Goncharov <dgoncharov@users.sf.net>
Sat, 29 May 2021 23:03:07 +0000 (19:03 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 30 May 2021 19:53:41 +0000 (15:53 -0400)
commitb580949ae0981cc2ecd466ad1dacb42f2f4a9f7d
tree3c6f8ec61b56a12d9a45fb12c4c1df4b0e4e559b
parentf2771aa614d3a826b70973217c33f605fb4cd0c2
[SV 60659] Set $$< properly in second expansion

Set the $$< automatic variable as best we can during secondary
expansion of prerequisites.

* src/commands.c (set_file_variables): Don't break without setting
'less' if secondary expansion is enabled.
* tests/scripts/features/se_explicit: Test secondary expansion results.
* tests/scripts/features/se_implicit: Test secondary expansion results.
src/commands.c
tests/scripts/features/se_explicit
tests/scripts/features/se_implicit