public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
From: Andrew Chambers <ac@acha•ninja>
To: goredo-devel@lists.cypherpunks.ru
Subject: Re: [PATCH] Don't create nested target directories automatically
Date: Fri, 15 Apr 2022 19:31:53 +1200 [thread overview]
Message-ID: <a8cf691f-a362-ca0f-afa1-aeb5376b190c@acha.ninja> (raw)
In-Reply-To: <3649539d-2690-4363-9035-3395282cdb7d@spacefrogg.net>
> You're right. They don't. Still one problem remains.
>
> Goredo also puts $3 in the target directory. So, this also means it is now a hard error to write to stdout (it points to $3) without first creating the directory. How does apenwarr handle this?
>
I do not think you can even attempt to build a target that does not
already have a directory, it just reports an error.
I suppose this is a problem if for example you do not wish your .o files
to exist beside your .c files. You might need to put mkdir -p calls into
a top level 'all' rule (which I admit you might not have). That being
said, I don't think redo ever supported this sort of 'out of tree' build
very well to begin with.
next prev parent reply other threads:[~2022-04-15 7:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-15 0:55 [PATCH] Don't create nested target directories automatically Andrew Chambers
2022-04-15 6:10 ` goredo
2022-04-15 6:49 ` Andrew Chambers
2022-04-15 7:15 ` goredo
2022-04-15 7:31 ` Andrew Chambers [this message]
2022-04-15 9:28 ` goredo
2022-04-15 12:00 ` Andrew Chambers
2022-04-15 13:17 ` goredo
2022-04-15 13:39 ` Andrew Chambers
2022-04-15 13:58 ` goredo
2022-04-15 16:23 ` Sergey Matveev
2022-04-16 0:36 ` Andrew Chambers
2022-04-15 16:23 ` Sergey Matveev
2022-04-15 6:57 ` Andrew Chambers
2022-04-15 16:23 ` Sergey Matveev