Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2008 08:01:16 +0200
From:      =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= <michael.grunewald@laposte.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Distributing makefiles
Message-ID:  <481416AC.9010600@laposte.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I am planning to distribute some of the makefiles I wrote on various
platforms, including FreeBSD. I need the help of some insightful soul to
take a few decisions:

--- Where to install? I think /usr/local/share/mk is fine;
--- How to install? Users should put a
     `.MAKEFLAGS: -I/usr/local/share/mk'
statement in their /etc/make.conf, are ports scripts allowed to do this
automagically? If yes what's the best way to do this? (an ed script?)
--- Being system or not? BSD Make has two search pathes, the system one
(whith <> style inclusion) and the other one (with "" style incusion). I
think I shall consider my files non system, preserving the <> pathes for
BSD. But ther may be some pros and cons I am not aware.

Note: I did submit this questions on `ports' about ten days ago, but I 
did not receive any answer for this. People subscribed to `ports' will 
see this message for the second time, I apologize for the annoyance.

Any comments welcome,
--
cheers,
Michaël




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481416AC.9010600>