[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57914] abspath does resolve symlink
From: |
Paul D. Smith |
Subject: |
[bug #57914] abspath does resolve symlink |
Date: |
Wed, 1 Apr 2020 15:15:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 |
Follow-up Comment #8, bug #57914 (project make):
Right... GNU make doesn't have any option to act like "pwd -L" does when it
manages paths.
The user could do that themselves in their makefile since they have access to
"$(PWD)". Maybe not pretty, but something like this could work:
labspath = $(patsubst $(CURDIR)/%,$(PWD)/%,$(abspath $1))
$(info labspath = $(call labspath,$(dir)))
which puts back the "$(PWD)" prefix.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57914>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/