Re: Another fix in https://www.gnu.org/software/make/manual/make.html

2018-02-09 Thread Martin Dorey
I think the opposite.  Isn't it saying that a rule for building .o from .c will 
work for such files in any directory, but a rule for building release/%.o from 
%.c will only work in the current directory?

On Feb 9, 2018, at 08:30, Howard Johnson  wrote:

In this section and paragraph:

10.5.4 How Patterns Match

...

"When the target pattern does not contain a slash (and it usually does not), 
directory names in the file names are removed from the file name before it is 
compared with the target prefix and suffix."

I think it should instead read:

"When the target pattern contains a slash (usually it does not), ..."



In other words, this paragraph speaks to how matching occurs with something 
like /dir/foo


___
Bug-make mailing list
Bug-make@gnu.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnu.org%2Fmailman%2Flistinfo%2Fbug-make=01%7C01%7CMartin.Dorey%40hitachivantara.com%7C45c9af59c937494fba1e08d56fda6a05%7C05ed65ebd042463abde010853828a84b%7C0=6nDwJ%2FKMijhFql8KdDHE0LD7bDOP7cSgvZPY6ZYylkI%3D=0

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


Another fix in https://www.gnu.org/software/make/manual/make.html

2018-02-09 Thread Howard Johnson

In this section and paragraph:

10.5.4 How Patterns Match

...

"When the target pattern does not contain a slash (and it usually does 
not), directory names in the file names are removed from the file name 
before it is compared with the target prefix and suffix."


I think it should instead read:

"When the target pattern contains a slash (usually it does not), ..."



In other words, this paragraph speaks to how matching occurs with 
something like /dir/foo



___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make