mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-07 04:55:46 +00:00
(notice_finished_file): Only mark also_make's as updated if really ran
cmds.
This commit is contained in:
parent
4867409da2
commit
e8f64b2c88
1 changed files with 1 additions and 1 deletions
2
remake.c
2
remake.c
|
@ -639,7 +639,7 @@ notice_finished_file (file)
|
||||||
f->last_mtime = file->last_mtime;
|
f->last_mtime = file->last_mtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file->update_status != -1)
|
if (ran && file->update_status != -1)
|
||||||
/* We actually tried to update FILE, which has
|
/* We actually tried to update FILE, which has
|
||||||
updated its also_make's as well (if it worked).
|
updated its also_make's as well (if it worked).
|
||||||
If it didn't work, it wouldn't work again for them.
|
If it didn't work, it wouldn't work again for them.
|
||||||
|
|
Loading…
Reference in a new issue