bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Surprising pattern matching and .EXTRA_PREREQS behaviours


From: Daniel Gerber
Subject: Re: Surprising pattern matching and .EXTRA_PREREQS behaviours
Date: Sun, 10 Dec 2023 09:40:31 +0100

Hi,

>> 2. How to set a variable for all targets matching <dirs>/prefix_<stem>?
>
> 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 variable. But in this
case I've switched to %_suffix rules and this does the job.


Thanks for your time!
Daniel
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]