[bug #63359] patsubst messes up functions in replacement

2022-11-13 Thread Robert Sachunsky
Follow-up Comment #4, bug #63359 (project make): Yes, I am doing that now, plus the outer $(notdir ...). Yes, I must admit the Github experience spoiled me in that regard, but I shall go ML first next time I get lost in make-space so bad I get to believe it's an actual bug (as if that was so easy

[bug #63359] patsubst messes up functions in replacement

2022-11-13 Thread Paul D. Smith
Follow-up Comment #3, bug #63359 (project make): It's not clear to me what you're trying to do: I think we have a bit of an XY problem. But if what you want is get the containing pathname without a trailing slash, then you can do this: $(patsubst %/,%,$(dir $(FOO))) A bit annoying but it does

[bug #63359] patsubst messes up functions in replacement

2022-11-13 Thread Robert Sachunsky
Follow-up Comment #2, bug #63359 (project make): Duh, that was stupid of me to think! Sorry to bother you, and thanks for the explanation, anyway! > Instead, you want to apply the function to the `$(FOO)` variable, like this: Yes, but I wanted to avoid that because the pattern … $(notdir $(

[bug #63359] patsubst messes up functions in replacement

2022-11-13 Thread Paul D. Smith
Update of bug #63359 (project make): Status:None => Not A Bug Open/Closed:Open => Closed Component Version: SCM => 4.4 _

[bug #63359] patsubst messes up functions in replacement

2022-11-13 Thread Robert Sachunsky
URL: Summary: patsubst messes up functions in replacement Project: make Submitter: bertsky Submitted: Sun 13 Nov 2022 05:30:38 PM UTC Severity: 3 - Normal Item Gro