summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-26 00:41:38 +0000
committerRoland McGrath <roland@redhat.com>1993-01-26 00:41:38 +0000
commitae0045f50e7b9237781f3b364ebb385fd445fc2d (patch)
treeba381e513a4149bb91a2efeb2b051f04c571d70b
parent2c132055ef6452852033037482cdb18c03fcbf04 (diff)
downloadgunmake-ae0045f50e7b9237781f3b364ebb385fd445fc2d.tar.gz
Formerly remake.c.~45~
-rw-r--r--remake.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 155287e..a2b70ad 100644
--- 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)
{