diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-15 17:53:30 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-15 17:53:30 -0400 |
commit | 20ecc58126c87effd0ace934e647d74c0107792a (patch) | |
tree | dee82f394209789131a40ee984bf28377a85c669 | |
parent | 1b9024889384fc26d296ee4340ffca32e8c73017 (diff) | |
download | gunmake-20ecc58126c87effd0ace934e647d74c0107792a.tar.gz |
[SV 31326] Enhance the info on static pattern errors.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/make.texi | 15 |
2 files changed, 13 insertions, 6 deletions
@@ -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. diff --git a/doc/make.texi b/doc/make.texi index 169f8fa..62c7191 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -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. |