[Top][All Lists]

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

Re: Adding FHS compliant directories to include path

From: Jonathan Nieder
Subject: Re: Adding FHS compliant directories to include path
Date: Tue, 15 Feb 2011 01:10:57 -0600
User-agent: Mutt/1.5.21 (2010-09-15)


Manoj Srivastava wrote:

>>  What do you think about creating (and looking at by default for include
>> directives) another FHS complient directory for this kind of Makefile
>> fragments, such as /usr/share/make/include for example ?
>         In something as mature as GNU Make, I don't feel all that
>  comfortable  making changes to the include path, since it
>   a) is a departure from Make everywhere else

This part at least could be overcome pretty easily.  Just add
/usr/share/make/include to the default includepath and

 1) over time, more and more GNU make installations will have it
 2) the FHS could document that
 3) other "make" implementations could follow suit
 4) POSIX could standardize on it

Everything falls out of that zeroth step.

The fundamental question, I guess, is whether makefile fragments
available systemwide should use the includepath mechanism or if
instead makefiles should hardcode the path to systemwide fragments.
I'm personally convinced that the former is much better, since it
allows a sysadmin to override a fragment in


by installing a fragment to



But I am very new to these things.  What do you think?

reply via email to

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