help-make
[Top][All Lists]
Advanced

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

Re: Filtering out based on substrings


From: Paul Smith
Subject: Re: Filtering out based on substrings
Date: Tue, 05 Sep 2023 11:43:49 -0400
User-agent: Evolution 3.48.4 (by Flathub.org)

On Tue, 2023-09-05 at 17:36 +0200, Sébastien Hinderer wrote:
> Is there a way to filter-out just the files whose path contains
> /bytecode/, for isntance?

You can't use filter-out for this as you discovered.  But you can use a
loop and findstring with if, like this:

    $(foreach F,$(FILES),$(if $(findstring /bytecode/,$F),,$F))




reply via email to

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