[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU standards: DESTDIR with symlinks
From: |
Paul Smith |
Subject: |
Re: GNU standards: DESTDIR with symlinks |
Date: |
Mon, 26 Sep 2022 16:41:51 -0400 |
User-agent: |
Evolution 3.44.4 (by Flathub.org) |
On Mon, 2022-09-26 at 16:03 -0400, Adrian Mariano wrote:
> That is, should the symlink include $DESTDIR, so it is valid in-
> place? In this case, moving the installation to its final location
> requires that the simlinks be modified. Or should the symlink refer
> to the final destination, so it is invalid in-place but valid once
> the installation is moved?
Speaking as someone who does a lot of relocating of things, IMO the
correct solution is that the symlink resolves to a relative path, not a
fully-qualified path, so that it works correctly regardless of whether
the installation is used in-place or after relocation.