From e8f64b2c887ecd0f08fb75b4394fe9ee6e3f1d5f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 23 Nov 1994 03:42:34 +0000 Subject: (notice_finished_file): Only mark also_make's as updated if really ran cmds. --- remake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remake.c b/remake.c index e619b44..cab83d9 100644 --- a/remake.c +++ b/remake.c @@ -639,7 +639,7 @@ notice_finished_file (file) 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 updated its also_make's as well (if it worked). If it didn't work, it wouldn't work again for them. -- cgit v1.2.3