commit | 86f2f8bcb5b4a03da8eb37e9a99c22d8fec4bfb2 | [log] [tgz] |
---|---|---|
author | Jouke Witteveen <j.witteveen@gmail.com> | Sat Oct 26 12:24:15 2019 +0200 |
committer | Paul Smith <psmith@gnu.org> | Wed Dec 18 09:05:17 2019 -0500 |
tree | 191a44ac166f35b7c56c5b93d85fd48886c6977d | |
parent | c72205b28b93ee546027ad5297ba1771f31256a6 [diff] |
[SV 54161] Fix second expansion of $* for paths If the stem matches a path containing a directory not just a filename, make sure the second expansion of $* in the prerequisites matches $* in the recipe. This requires using $(*F) when replacing % in the first expansion to preserve the simple filename. * src/implicit.c (pattern_search): If lastslash is set prepend the directory onto the stem. Then use $(*F) when expanding %. * tests/scripts/features/se_implicit: Add a test case