Re: Surprising pattern matching and .EXTRA_PREREQS behaviours

2023-12-10 Thread Daniel Gerber
Hi, >> 2. How to set a variable for all targets matching /prefix_? > > dirs/prefix_%: hello=world Here I wanted to match the dirs/ prefix dynamically, as part of the stem. The issue that bit me more thant once is that pattern matching is not the same for finding a recipe and for setting a variabl

Re: Surprising pattern matching and .EXTRA_PREREQS behaviours

2023-12-09 Thread Dmitry Goncharov
On Mon, Nov 20, 2023 at 8:37 AM Daniel Gerber wrote: > 1. Second expansion is not applied to .EXTRA_PREREQS Thanks for your report. You can find a patch here https://savannah.gnu.org/bugs/index.php?65006. > 2. Setting .EXTRA_PREREQS as pattern-specific variable is not supported A couple of ye

Surprising pattern matching and .EXTRA_PREREQS behaviours

2023-11-20 Thread Daniel Gerber
Hi, I've found these surprising behaviours (in make v4.3). Are there any chance to see them changed? 1. Second expansion is not applied to .EXTRA_PREREQS 2. Setting .EXTRA_PREREQS as pattern-specific variable is not supported 3. In setting pattern-specific variables, patterns with no slash are