URL:
<https://savannah.gnu.org/bugs/?54676>
Summary: no way to query current vpath value
Project: make
Submitted by: boyski
Submitted on: Tue 18 Sep 2018 01:32:16 AM UTC
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: SCM
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
The vpath directive is generally preferable to VPATH but it has one limitation
VPATH does not: there seems to be no way to query the current setting. We can
add to it with e.g. "vpath %.c path1 path2 ..." and clear the current setting
with "vpath %.c" but there's no way to find the "path1 path2" value. Since
path settings are accretive and cross include file boundaries and so on it can
be pretty challenging to figure out the current value in complex makefile
suites.
Unfortunately I have no suggestions for the syntax. It may be necessary to
drop this simply because there's no syntactical space for it. but I wanted to
put it in the record anyway.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54676>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make