bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54676] no way to query current vpath value


From: David Boyce
Subject: [bug #54676] no way to query current vpath value
Date: Mon, 17 Sep 2018 21:32:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]