summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 27d2550..97e3854 100644
--- a/remake.c
+++ b/remake.c
@@ -355,11 +355,6 @@ update_file (struct file *file, unsigned int depth)
static void
complain (struct file *file)
{
- const char *msg_noparent
- = _("%sNo rule to make target `%s'%s");
- const char *msg_parent
- = _("%sNo rule to make target `%s', needed by `%s'%s");
-
/* If this file has no_diag set then it means we tried to update it
before in the dontcare mode and failed. The target that actually
failed is not necessarily this file but could be one of its direct
@@ -379,6 +374,11 @@ complain (struct file *file)
if (d == 0)
{
+ const char *msg_noparent
+ = _("%sNo rule to make target `%s'%s");
+ const char *msg_parent
+ = _("%sNo rule to make target `%s', needed by `%s'%s");
+
/* Didn't find any dependencies to complain about. */
if (!keep_going_flag)
{