Hi,

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

        /usr/include

by installing a fragment to

        /usr/local/include

.

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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to