mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-07 06:47:52 +00:00
Pass new arg in `message' calls.
This commit is contained in:
parent
37cf6fdc18
commit
3f614c58ed
1 changed files with 5 additions and 9 deletions
14
remake.c
14
remake.c
|
@ -195,14 +195,10 @@ update_goal_chain (goals, makefiles)
|
||||||
&& file->update_status == 0 && !g->changed
|
&& 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)
|
||||||
{
|
message (1, ((file->phony || file->cmds == 0)
|
||||||
if (file->phony || file->cmds == 0)
|
? "Nothing to be done for `%s'."
|
||||||
message ("Nothing to be done for `%s'.",
|
: "`%s' is up to date."),
|
||||||
file->name);
|
file->name);
|
||||||
else
|
|
||||||
message ("`%s' is up to date.", file->name);
|
|
||||||
fflush (stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* This goal is finished. Remove it from the chain. */
|
/* This goal is finished. Remove it from the chain. */
|
||||||
if (lastgoal == 0)
|
if (lastgoal == 0)
|
||||||
|
@ -769,7 +765,7 @@ touch_file (file)
|
||||||
register struct file *file;
|
register struct file *file;
|
||||||
{
|
{
|
||||||
if (!silent_flag)
|
if (!silent_flag)
|
||||||
message ("touch %s", file->name);
|
message (0, "touch %s", file->name);
|
||||||
|
|
||||||
#ifndef NO_ARCHIVES
|
#ifndef NO_ARCHIVES
|
||||||
if (ar_name (file->name))
|
if (ar_name (file->name))
|
||||||
|
|
Loading…
Reference in a new issue