From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 05:58:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B51106568F for ; Sun, 27 Apr 2008 05:58:31 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC3A8FC3C for ; Sun, 27 Apr 2008 05:58:31 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id B97B63F6316 for ; Sun, 27 Apr 2008 07:58:29 +0200 (CEST) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id 965313F630F for ; Sun, 27 Apr 2008 07:58:29 +0200 (CEST) Message-ID: <481416AC.9010600@laposte.net> Date: Sun, 27 Apr 2008 08:01:16 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; fr-FR; rv:1.8.1.11) Gecko/20080212 SeaMonkey/1.1.7 MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Distributing makefiles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 05:58:31 -0000 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