[bug #60378] Avoid duplicates in default_include_directories.

2021-04-17 Thread Paul D. Smith
Update of bug #60378 (project make):

  Status:None => Fixed  
 Assigned to:None => psmith 
 Open/Closed:Open => Closed 
   Fixed Release:None => SCM
   Triage Status:None => Small Effort   

___

Follow-up Comment #2:

I applied this change, lightly edited.  I'll push it to Git shortly.

___

Reply to this item at:

  

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




[bug #60312] echo replaces double quote with backslash

2021-04-17 Thread Paul D. Smith
Follow-up Comment #10, bug #60312 (project make):

I'm not sure I know what to do with this: is there a problem to be resolved or
should this be closed?

___

Reply to this item at:

  

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




[bug #60399] Incorrect dependencies with grouped targets

2021-04-17 Thread Paul D. Smith
Follow-up Comment #1, bug #60399 (project make):

I agree that this behavior does not seem right.

First, the output of --trace is misleading.  Using -d is slightly more
understandable.

I think that the way it's implemented is that a prerequisite of any element of
a group is considered to be a prerequisite of the entire group.  So by saying
that b depends on FORCE, that also implies that a depends on FORCE: they are
considered a group and can't really be managed separately.  It wasn't really
considered that the out-of-date computation of one element of the group might
make a different decision on whether to rebuild, if only that one element was
considered.

Oddly, it appears that .PHONY (and, probably other special targets like it)
apply to individual members of the group rather than the entire group like
regular prerequisites.

___

Reply to this item at:

  

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




[bug #60412] Avoid default include directories when searching for included files.

2021-04-17 Thread Dmitry Goncharov
Additional Item Attachment, bug #60412 (project make):

File name: sv60412_dash_a_test.diff   Size:0 KB
   


File name: sv60412_dash_a_doc.diffSize:1 KB




___

Reply to this item at:

  

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




[bug #60412] Avoid default include directories when searching for included files.

2021-04-17 Thread Dmitry Goncharov
Additional Item Attachment, bug #60412 (project make):

File name: sv60412_dash_a.diffSize:3 KB




___

Reply to this item at:

  

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




[bug #60412] Avoid default include directories when searching for included files.

2021-04-17 Thread Dmitry Goncharov
URL:
  

 Summary: Avoid default include directories when searching for
included files.
 Project: make
Submitted by: dgoncharov
Submitted on: Sat 17 Apr 2021 08:34:55 PM 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: POSIX-Based
   Fixed Release: None
   Triage Status: None

___

Details:

Make searches the default include directories for included files.
This new option -a tells make to skip the default include directories.
In my practice, /usr/include, /usr/gnu/include and /usr/local/include contain
header files and never contain makefiles.
Users cannot store their owns hand-written makefiles or generated dep files in
these directories, because these directories are owned by root.
The only effect of this lookup is to slow down make.
Not sure, if this lookup can be removed from make. Therefore, this new option
to avoid it.




___

Reply to this item at:

  

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