On Mon, 30 Jun 2025 at 18:14, Zack Weinberg <invalid.nore...@gnu.org> wrote:

>
> p.s. I do insist that this is a bug, not a feature request.  The existing
> behavior is strictly less useful than the requested behavior, and
> surprising
> to boot.


If I understand you then you want to use $(file) to get around the
commandline length limit?

In this case I think you could put the directory in as its own target with
an order-only dependency on it.   Or you could use $(mkdir) from extramake
:-).

If the directory is another target then you will ensure it gets done before
$(file).   Another option is to $(shell mkdir ...) in the body of the
script if it doesn't matter to you that the directory is always created.

Regards,

Tim

Reply via email to