Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 1998 22:38:11 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        imp@village.org (Warner Losh)
Cc:        committers@FreeBSD.ORG
Subject:   Re: make.conf
Message-ID:  <199808292238.WAA01362@veda.is>
In-Reply-To: <199808292222.QAA03532@harmony.village.org> from Warner Losh at "Aug 29, 98 04:22:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

> In message <199808292159.VAA00393@veda.is> Adam David writes:
> : bsd.port.mk is used to build ports, so ports.conf could be included there.
> : If there is no suitable bsd.*.mk for including src.conf then arrange things
> : so there is a corresponding bsd.src.mk or equivalent mechanism for including
> : src.conf.
> 
> The biggest problem is that including it in bsd.port.mk is too late

OK, is there any way of detecting which part of the tree is being built
that can be done without changing practically every Makefile? Then the
relevant included file could be selected on that basis. Or is there a
suitable macro that would expand to the path of the current Makefile
and it could be worked out from there?

--
Adam David <adam@veda.is>



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