[bug #62936] Confusing description of chained rules in the manual

2022-08-22 Thread anonymous
URL: Summary: Confusing description of chained rules in the manual Project: make Submitter: None Submitted: Mon 22 Aug 2022 09:05:20 AM UTC Severity: 3 - Normal It

Re: [bug #62936] Confusing description of chained rules in the manual

2022-08-22 Thread Edward Welbourne
Hi Konrad, > Trying to understand a bug in my Makefile, I consulted the manual > section on chained rules > (https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html#Chained-Rules) > and found the following paragraph, which is more confusing than > helpful: >> The first difference is

Re: False positive "doesn't match the target pattern" error

2022-08-22 Thread David A. Wheeler
> On Aug 22, 2022, at 12:02 AM, Alejandro Colomar > wrote: > > Hi David, > > On 8/22/22 04:45, David A. Wheeler wrote: >>> On Aug 20, 2022, at 11:35 AM, Alejandro Colomar >>> wrote: >>> I'd say there is: make(1) treats file names as text strings, not really >>> file names, for most of it

Re: False positive "doesn't match the target pattern" error

2022-08-22 Thread Alejandro Colomar
Hi David, Ingo, For others starting to read this thread now, it started here: On 8/22/22 16:46, David A. Wheeler wrote: On Aug 22, 2022, at 12:02 AM, Alejandro Colomar wrote: Hi David, On 8/22/22 04:45, David A. Wheeler w

[bug #62929] Normalize foo/./bar

2022-08-22 Thread Dmitry Goncharov
Follow-up Comment #2, bug #62929 (project make): i compared gmake, bmake, sun make, sun dmake, sun make in svr4 mode, aix make. Given makefile hello: @echo $@ gmake treats ./hello, ././hello, ././/hello or .//hello, as hello. $@ has value hello. sun make, sun dmake, sun svr4 make treat ./hel

[bug #62929] Normalize foo/./bar

2022-08-22 Thread Dmitry Goncharov
Follow-up Comment #3, bug #62929 (project make): pmake behaves the same as bmake. ___ Reply to this item at: ___ Message sent via Savannah https://savan

[bug #62929] Normalize foo/./bar

2022-08-22 Thread Dmitry Goncharov
Follow-up Comment #4, bug #62929 (project make): Given makefile foo/bar:; @echo $@ and target foo/./bar this changeset sets $@ to foo/bar. To proceed with this, changes may be needed in addition to the one in the attachment. 1. same normalization in lookup_file and in main 2. ability to match fo