mirror of
https://github.com/mirror/make.git
synced 2025-01-21 09:41:03 +08:00
Formerly remake.c.~45~
This commit is contained in:
parent
2c132055ef
commit
ae0045f50e
7
remake.c
7
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,
|
/* If we have found nothing whatever to do for the goal,
|
||||||
print a message saying nothing needs doing. */
|
print a message saying nothing needs doing. */
|
||||||
|
|
||||||
|
if (!makefiles
|
||||||
/* If the update_status is zero, we updated successfully
|
/* If the update_status is zero, we updated successfully
|
||||||
or not at all. G->changed will have been set above if
|
or not at all. G->changed will have been set above if
|
||||||
any commands were actually run on behalf of this goal. */
|
any commands were actually started for this goal. */
|
||||||
if (g->file->update_status == 0 && !g->changed
|
&& g->file->update_status == 0 && !g->changed
|
||||||
/* Never give a message under -s or -q. */
|
/* Never give a message under -s or -q. */
|
||||||
&& !silent_flag && !question_flag)
|
&& !silent_flag && !question_flag)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user