]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly remake.c.~45~
authorRoland McGrath <roland@redhat.com>
Tue, 26 Jan 1993 00:41:38 +0000 (00:41 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 26 Jan 1993 00:41:38 +0000 (00:41 +0000)
remake.c

index 155287ec2889258004785e2a945d7c29b12b2491..a2b70adda3470888151d8ebfd1a3166ddcf0f9a0 100644 (file)
--- a/remake.c
+++ b/remake.c
@@ -159,15 +159,16 @@ update_goal_chain (goals, makefiles)
                    }
                }
 
-             if (stop)
+             if (stop || g->file->updated)
                {
                  /* If we have found nothing whatever to do for the goal,
                     print a message saying nothing needs doing.  */
 
-                 /* If the update_status is zero, we updated successfully
-                    or not at all.  G->changed will have been set above if
-                    any commands were actually run on behalf of this goal.  */
-                 if (g->file->update_status == 0 && !g->changed
+                 if (!makefiles
+                     /* If the update_status is zero, we updated successfully
+                        or not at all.  G->changed will have been set above if
+                        any commands were actually started for this goal.  */
+                     && g->file->update_status == 0 && !g->changed
                      /* Never give a message under -s or -q.  */
                      && !silent_flag && !question_flag)
                    {