Hi Paul!

Thanks for the detailed answer.

> Le 10 nov. 2017 à 17:50, Paul Smith <psm...@gnu.org> a écrit :
> 
> On Fri, 2017-11-10 at 17:36 +0100, Akim Demaille wrote:
>> in other words, cd respects my symlinks, but make -C resolves them.
> 
> These statements don't make sense to me: what does "respecting a
> symlink" mean, and how is it different from "resolving a symlink »?

OMG… How could I have missed that… I guess I had already burned
too many neurons trying to reproduce the problems observed in
the full scale project.

>> It turns out that on the project I work on, due to specific layout
>> constraints (golang trees…) resolving the symlink breaks everything.
> 
> This is bad behavior on the part of your build system,

I wholeheartedly agree on this.

> but if you want
> to avoid fixing it and instead work around it, and you want to use
> "make -C", you can set PWD yourself:
> 
>    PWD="$PWD/bar" make -C bar

Well, I think it would be nice from Make to do it, but I can understand
arguments against this, so…

Again, many thanks and apologies.

        Akim
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to