URL: <https://savannah.gnu.org/bugs/?66490>
Summary: pattern substitution with % does not match suffixes Group: make Submitter: None Submitted: Thu 28 Nov 2024 09:56:18 AM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.3 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 28 Nov 2024 09:56:18 AM UTC By: Anonymous Hi, According to my understanding of the current documentation it should be possible to replace suffixes with pattern substitution references or functions. But as of Make 4.3 on Debian this does not work: make -sf - A=bcd.efg a <<EOF B := \$(A:.%=) %: echo \$B EOF expected result: bcd actual result: bcd.efg Same problem with $(patsubst .%,,$(A)). Best regards, -- Julien Plissonneau Duquène _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66490> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature