Subject: Re: [PATCH] Don't create nested target directories automatically

From: goredo <[email-masked]>
Date: Fri, 15 Apr 2022 13:58:09 +0000 (UTC)

I am not the developer.

The following works with apenwarr on any file in any hierarchy:
default.do:
mkdir -p $(dirname $2)
touch $3

Same goes for goredo and your patch but not redo-sh (AFAIR).

It differs from goredo in the following aspect for a phony target:
default.do:
redo-ifchange foo bar baz $(dirname $2)/file.ext

This do file works in apenwarr for a/b/all and creates no directories. It works in current goredo and does create directories. Will it work with your patch? It needs the directories to make a record in a/b/.redo.