[SV 31326] Enhance the info on static pattern errors.
authorPaul Smith <psmith@gnu.org>
Sun, 15 Sep 2013 21:53:30 +0000 (17:53 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 15 Sep 2013 21:53:30 +0000 (17:53 -0400)
ChangeLog
doc/make.texi

index 7c88e76c669404ba182439d9bbb53c74f9570e29..e478d7dac345ac2ae81e14cb533663186c9f7750 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-09-15  Paul Smith  <psmith@gnu.org>
 
+       * doc/make.texi (Error Messages): Add a bit more info to the
+       section on static pattern errors, since they're common.
+       Fixes Savannah bug #31326.
+
        * read.c (eval_makefile): If the file open fails with an
        unrecoverable error, stop now rather than trying to make it.
        Fixes Savannah bug #27374.
index 169f8fa02e636654bea3a25268fb1ff7a910f180..62c71910ce5f0aac200f0c71eb1d71014e553f96 100644 (file)
@@ -12174,12 +12174,15 @@ of its arguments.  @xref{Functions, ,Functions for Transforming Text}.
 @itemx multiple target patterns.  Stop.
 @itemx target pattern contains no `%'.  Stop.
 @itemx mixed implicit and static pattern rules.  Stop.
-These are generated for malformed static pattern rules.  The first means
-there's no pattern in the target section of the rule; the second means
-there are multiple patterns in the target section; the third means
-the target doesn't contain a pattern character (@code{%}); and the
-fourth means that all three parts of the static pattern rule contain
-pattern characters (@code{%})--only the first two parts should.
+These are generated for malformed static pattern rules.  The first
+means there's no pattern in the target section of the rule; the second
+means there are multiple patterns in the target section; the third
+means the target doesn't contain a pattern character (@code{%}); and
+the fourth means that all three parts of the static pattern rule
+contain pattern characters (@code{%})--only the first two parts
+should.  If you see these errors and you aren't trying to create a
+static pattern rule, check the value of any variables in your target
+and prerequisite lists to be sure they do not contain colons.
 @xref{Static Usage, ,Syntax of Static Pattern Rules}.
 
 @item warning: -jN forced in submake: disabling jobserver mode.