[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling '=' in a filename together with $(eval )
From: |
Paul Smith |
Subject: |
Re: Handling '=' in a filename together with $(eval ) |
Date: |
Thu, 13 Feb 2025 10:35:32 -0500 |
User-agent: |
Evolution 3.54.3 (by Flathub.org) |
On Thu, 2025-02-13 at 10:33 -0500, Paul Smith wrote:
> On Thu, 2025-02-13 at 16:24 +0100, Alejandro Colomar wrote:
> > I'm aware of that trick. However, I think it won't work for me,
> > since I don't hardcode the filenames in the Makefile, but get them
> > with
> >
> > $(shell find ...)
> >
> > instead.
>
> You can always use subst to handle this, like:
>
> $(subst =,$$(EQ),....)
This might require an extra eval, I'm not sure I didn't test it.
Basically, my opinion is still:
> Note I don't really recommend any of this. With the current
> limitations of make, as defined by POSIX, it's just very difficult to
> use filenames that contain special characters. I recommend a "just
> don't do it" approach :).
Re: Handling '=' in a filename together with $(eval ), Renaud Pacalet, 2025/02/13