]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 57676] Support included files being built after failing
authorPaul Smith <psmith@gnu.org>
Sat, 5 Dec 2020 20:06:25 +0000 (15:06 -0500)
committerPaul Smith <psmith@gnu.org>
Sat, 5 Dec 2020 20:06:25 +0000 (15:06 -0500)
commitc4cc2e95953baae800eb9c694c691f7263317035
tree0ac2948a00726d76c3dc73ebf64e991136823384
parent5e234e404810ecfa930fca40b85b009c9271a33f
[SV 57676] Support included files being built after failing

If a -include file does not exist, then some subsequent operation
creates it, then allow it to be successfully included.

* src/read.c (eval_makefile): If our last mtime was NONEXISTENT then
reset it to 0 so we'll check it again.
* tests/scripts/features/include: Add a test for this behavior.
src/read.c
tests/scripts/features/include