bugmake - Bugs: bug #54676, no way to query current vpath value


bug #54676: no way to query current vpath value

Submitter:  David Boyce <boyski>
Submitted:  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
Component Version:  4.3 Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 29 Mar 2022 11:46:03 PM UTC, comment #1: 

Actually I think "vpath %.c ?" might be fine. Technically incompatible but the odds of anyone having ever used a directory called "?" seem very low.

David Boyce <boyski>
Tue 18 Sep 2018 01:32:16 AM UTC, original submission:  

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.

David Boyce <boyski>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by boyski (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code