From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 06:18:01 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 BD3DE106570D for ; Sun, 27 Apr 2008 06:18:01 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 421E98FC23 for ; Sun, 27 Apr 2008 06:18:01 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEFAIG3E0h5LWAW/2dsb2JhbACBU6gU X-IronPort-AV: E=Sophos;i="4.25,712,1199626200"; d="scan'208";a="90077782" Received: from ppp121-45-96-22.lns10.adl6.internode.on.net (HELO alpha.home) ([121.45.96.22]) by ipmail01.adl6.internode.on.net with ESMTP; 27 Apr 2008 15:47:59 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sun, 27 Apr 2008 15:47:59 +0930 User-Agent: KMail/1.8 References: <481416AC.9010600@laposte.net> <200804271543.09429.malcolm.kay@internode.on.net> In-Reply-To: <200804271543.09429.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804271547.59299.malcolm.kay@internode.on.net> Cc: =?iso-8859-1?q?Micha=EBl_Gr=FCnewald?= Subject: Re: 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 06:18:01 -0000 On Sun, 27 Apr 2008 03:43 pm, Malcolm Kay wrote: > On Sun, 27 Apr 2008 03:31 pm, Micha=EBl Gr=FCnewald wrote: > > Hi all, > >=20 > > 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: > >=20 > > --- 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. >=20 > I think you are confusing make with the C language with respect to search= =20 > paths. I believe make only uses search paths other than the current direc= tory > when specificly requested for example with VPATH. >=20 > Regards, > Malcolm=20 >=20 I spoke too quickly, please cancel or ignore these remarks. Sorry, Malcolm > >=20 > > Note: I did submit this questions on `ports' about ten days ago, but I= =20 > > did not receive any answer for this. People subscribed to `ports' will= =20 > > see this message for the second time, I apologize for the annoyance. > >=20 > > Any comments welcome, > > -- > > cheers, > > Micha=EBl > >=20 >=20