]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix connected warnings about obsolete exeext override.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 18:31:19 +0000 (20:31 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 18:31:19 +0000 (20:31 +0200)
* 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>
ChangeLog
lib/Automake/Rule.pm

index 19b77724e8c56ef0d7ea6194fed5f838b4da0f91..9a0b3329c16a0ad78e6f9d4683b6922a5f72fbe1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       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.
+
        Fix per-Makefile.am setting of -Werror.
        Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
        Makefile.am would carry over to other Makefile.am files
index 68b3ea51f70b72087bb4378a2293522aefa3e798..d7e71055cf55a067273dbf32cdebb30beb0995e8 100644 (file)
@@ -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