(notice_finished_file): Only mark also_make's as updated if really ran
authorRoland McGrath <roland@redhat.com>
Wed, 23 Nov 1994 03:42:34 +0000 (03:42 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 23 Nov 1994 03:42:34 +0000 (03:42 +0000)
cmds.

remake.c

index e619b44d90ac0ecc9ebbfc246c03869980468c57..cab83d94e63f3f8d7446387837310092ddc424f5 100644 (file)
--- 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.