From: Roland McGrath Date: Wed, 23 Nov 1994 03:42:34 +0000 (+0000) Subject: (notice_finished_file): Only mark also_make's as updated if really ran X-Git-Tag: 3.72.2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8f64b2c887ecd0f08fb75b4394fe9ee6e3f1d5f;p=platform%2Fupstream%2Fmake.git (notice_finished_file): Only mark also_make's as updated if really ran cmds. --- 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.