Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 15:58:11 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ceri@submonkey.net
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, ru@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/make make.1
Message-ID:  <20051012.155811.52904801.imp@bsdimp.com>
In-Reply-To: <20051012195808.GK99170@submonkey.net>
References:  <20051012170652.GI99170@submonkey.net> <20051012191933.GD75270@ip.net.ua> <20051012195808.GK99170@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20051012195808.GK99170@submonkey.net>
            Ceri Davies <ceri@submonkey.net> writes:
: On Wed, Oct 12, 2005 at 10:19:33PM +0300, Ruslan Ermilov wrote:
: > On Wed, Oct 12, 2005 at 06:06:52PM +0100, Ceri Davies wrote:
: > > > From: Ruslan Ermilov <ru@freebsd.org>
: > > > Subject: Re: cvs commit: src/usr.bin/make make.1
: > > > Date: Wed, 12 Oct 2005 18:27:10 +0300
: > > > 
: > > > > On Wed, Oct 12, 2005 at 09:13:30AM -0600, M. Warner Losh wrote:
: > > > > > In message: <200510121009.j9CA9aE3026075@repoman.freebsd.org>
: > > > > >             Yar Tikhiy <yar@FreeBSD.org> writes:
: > > > > > : yar         2005-10-12 10:09:36 UTC
: > > > > > : 
: > > > > > :   FreeBSD src repository
: > > > > > : 
: > > > > > :   Modified files:
: > > > > > :     usr.bin/make         make.1 
: > > > > > :   Log:
: > > > > > :   __MAKE_CONF doesn't really belong here because it is
: > > > > > :   a FreeBSD extension of sys.mk.  A xref to make.conf(5)
: > > > > > :   will be enough here.
: > > > > > :   
: > > > > > :   Requested by:   ru
: > > > > > 
: > > > > > I disagree.  It is already hard enough to find info about __MAKE_CONF,
: > > > > > and since it is part of the base system, this seems like an artificial
: > > > > > distinction.
: > > > > > 
: > > 
: > > > > We really don't need any more duplication.
: > > 
: > > That's true, but it should be our problem and not the user's.
: > > 
: > It's not just that, it's that __MAKE_CONF isn't used/set/known
: > by the make(1) utility.  It's a location of make.conf file that
: > is included by the default FreeBSD version of sys.mk.  So if
: > we wanted to emphasize this, it'd be more logical to talk more
: > about make.conf(5) itself, what it is and how it's used in
: > FreeBSD.  It can be a separate section, e.g. "FreeBSD sys.mk",
: > documenting __MAKE_CONF and probably other "make \
: > __MAKE_CONF=/dev/null -f /dev/null -dg1" bits.  Or it could be
: > a short explanation of what make.conf is and then a reference
: > to the make.conf(5) manpage.  But it's certainly not the make's
: > internal variable (where it was initially documented), hence my
: > objection?to this commit.
: 
: That's a convincing argument too.  Perhaps this stuff belongs in mk(7)?

sys.mk is described in make(1), so all things that affect it should be
described as well.  If we ever have a mk(7), that might change, but
for now we really need it in make.1!

Warner



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