From owner-cvs-all@FreeBSD.ORG Thu Oct 13 14:35:43 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C674E16A41F; Thu, 13 Oct 2005 14:35:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C79C543D45; Thu, 13 Oct 2005 14:35:42 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9DEZDx9037163; Thu, 13 Oct 2005 17:35:13 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 91796-04; Thu, 13 Oct 2005 17:35:10 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9DEU901037022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Oct 2005 17:30:09 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id j9DEUAZf092106; Thu, 13 Oct 2005 17:30:10 +0300 (EEST) (envelope-from ru) Date: Thu, 13 Oct 2005 17:30:10 +0300 From: Ruslan Ermilov To: Yar Tikhiy Message-ID: <20051013143010.GC91109@ip.net.ua> References: <20051012170509.GH99170@submonkey.net> <200510121440.15780.jhb@freebsd.org> <20051012.155313.60482924.imp@bsdimp.com> <20051013135453.GC56193@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline In-Reply-To: <20051013135453.GC56193@comp.chem.msu.su> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.bin/make make.1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 14:35:44 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 13, 2005 at 05:54:54PM +0400, Yar Tikhiy wrote: > On Wed, Oct 12, 2005 at 03:53:13PM -0600, M. Warner Losh wrote: > > In message: <200510121440.15780.jhb@freebsd.org> > > John Baldwin writes: > > : make(1) does honor some special environment variables like MAKEOBJDIR= PREFIX,=20 > > : but __MAKE_CONF is not one of them. It is handled in sys.mk, not in = the=20 > > : make(1) program itself. > >=20 > > We've already wasted too much time on this bikeshed... > >=20 And we've been discussing with Yar how this can be improved before this bikeshed ever started. > No problem, __MAKE_CONF mentioned will be among other improvements > to the make(1) page that are to be committed in a day or two. > Ruslan doesn't object to it since now __MAKE_CONF will be described > in an apparent connection to sys.mk. >=20 One idea was to add a sys.mk(7) manpage documenting what it does, but I thought it was an overkill given a relatively small amount of information that could be put there. Documenting (briefly) what the standard FreeBSD sys.mk file does in a separate section in the make(1) manpage shouldn't be a problem, but in this case I insist it should be made clear this is specific to FreeBSD and not the make(1) itself. Having /etc/make.conf included with every make(1) run is a design bug. It's a bug because the implementation doesn't match the goal. The goal (as advertised in the make.conf manpage) is to "contain settings that control the compilation of the FreeBSD sources and ported applications" and "it is included by the various makefiles in /usr/src, /usr/ports and /usr/doc". I mean, the visibility of /etc/make.conf would better be constrained by src/, ports/, and doc/ makefiles, not the universe under the control of FreeBSD. I think it's too late to change that, so we'll have to live with this backward compatibility bug or come up with a better replacement. NetBSD, for example, that has a very elegant build system, doesn't suffer from this bug. They only include their mk.conf for system builds. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDTm9yqRfpzJluFF4RAp1MAJ0RQ6L8oysh+qGeYJ1nR4ASdTPcpwCdEYlK twmOoCuOQCY+bkERAcAtHJQ= =rR1W -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM--