summaryrefslogtreecommitdiff
path: root/lib/Automake/Rule.pm
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-04-11 20:31:19 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-04-11 20:31:19 +0200
commitda765822f02f0e66b6e3b4a01e2ac08f5c837164 (patch)
tree70eaa4e4c895d1c34068eb561ba226aae4642d2d /lib/Automake/Rule.pm
parentb853db4ad65aff6affab534a5dffa39a4a07a8bd (diff)
downloadautomake-da765822f02f0e66b6e3b4a01e2ac08f5c837164.tar.gz
Fix connected warnings about obsolete exeext override.
* lib/Automake/Rule.pm (define): Merge two warnings that belong together, by setting the 'partial' flag for the first one. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/Automake/Rule.pm')
-rw-r--r--lib/Automake/Rule.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Automake/Rule.pm b/lib/Automake/Rule.pm
index 68b3ea51f..d7e71055c 100644
--- a/lib/Automake/Rule.pm
+++ b/lib/Automake/Rule.pm
@@ -1,4 +1,5 @@
-# Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2006, 2007, 2010 Free Software Foundation,
+# Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -615,7 +616,8 @@ sub define ($$$$$)
msg ('obsolete', $tdef->location,
"deprecated feature: target `$noexe' overrides "
. "`$noexe\$(EXEEXT)'\n"
- . "change your target to read `$noexe\$(EXEEXT)'");
+ . "change your target to read `$noexe\$(EXEEXT)'",
+ partial => 1);
msg ('obsolete', $where, "target `$target' was defined here");
}
# Don't `return ()' now, as this might hide target clashes