summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-11-26 01:38:10 +0000
committerRoland McGrath <roland@redhat.com>1995-11-26 01:38:10 +0000
commit3f614c58ede802b19519315bb001bfbf4aa1900f (patch)
treef1f0f246e00ded24a2580c5cffd939ee4d1c913d /remake.c
parent37cf6fdc18d46b8a318f7f1cb78d70ea84db024d (diff)
downloadgunmake-3f614c58ede802b19519315bb001bfbf4aa1900f.tar.gz
Pass new arg in `message' calls.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/remake.c b/remake.c
index 2004d79..173a67e 100644
--- a/remake.c
+++ b/remake.c
@@ -195,14 +195,10 @@ update_goal_chain (goals, makefiles)
&& file->update_status == 0 && !g->changed
/* Never give a message under -s or -q. */
&& !silent_flag && !question_flag)
- {
- if (file->phony || file->cmds == 0)
- message ("Nothing to be done for `%s'.",
- file->name);
- else
- message ("`%s' is up to date.", file->name);
- fflush (stdout);
- }
+ message (1, ((file->phony || file->cmds == 0)
+ ? "Nothing to be done for `%s'."
+ : "`%s' is up to date."),
+ file->name);
/* This goal is finished. Remove it from the chain. */
if (lastgoal == 0)
@@ -769,7 +765,7 @@ touch_file (file)
register struct file *file;
{
if (!silent_flag)
- message ("touch %s", file->name);
+ message (0, "touch %s", file->name);
#ifndef NO_ARCHIVES
if (ar_name (file->name))