bug-make
[Top][All Lists]
Advanced

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

[bug #47880] Allow updates to .INCLUDE_DIRS to change search path


From: Steven Simpson
Subject: [bug #47880] Allow updates to .INCLUDE_DIRS to change search path
Date: Sun, 25 Apr 2021 13:53:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #10, bug #47880 (project make):

> One trouble of this default is, when your dep files are missing, make does a
fs access per default directory for each missing dep file.

Are these always cases where you know you want a local file?  Can you use
this?:


include $(CURDIR)/foo.mk


(Or does the full path cause more accesses?)

In terms of new features, this might be better considered a question of
disabling the search path on a per-include basis, when you know you want a
local file.  The '*include' directives are implemented with a call to
eval_makefile, which has an RM_INCLUDED option to enable the search path, it
seems.  Perhaps a leading '.' on the filename should suppress it (just as '/'
does), or a new directive '*includelocal' would call without RM_INCLUDED.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?47880>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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