From 20ecc58126c87effd0ace934e647d74c0107792a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 15 Sep 2013 17:53:30 -0400 Subject: [SV 31326] Enhance the info on static pattern errors. --- ChangeLog | 4 ++++ doc/make.texi | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c88e76..e478d7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2013-09-15 Paul Smith + * 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. -- cgit v1.2.3