From owner-freebsd-current Wed May 15 1:17:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 8E3AE37B401; Wed, 15 May 2002 01:17:27 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4F8H6J96958; Wed, 15 May 2002 11:17:06 +0300 (EEST) (envelope-from ru) Date: Wed, 15 May 2002 11:17:06 +0300 From: Ruslan Ermilov To: Bruce Evans Cc: "David O'Brien" , current@FreeBSD.ORG Subject: Re: make includes Message-ID: <20020515081706.GH78035@sunbay.com> References: <20020514211757.A37033@dragon.nuxi.com> <20020515161610.U7103-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="54u2kuW9sGWg/X+X" Content-Disposition: inline In-Reply-To: <20020515161610.U7103-100000@gamplex.bde.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --54u2kuW9sGWg/X+X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 05:05:02PM +1000, Bruce Evans wrote: > On Tue, 14 May 2002, David O'Brien wrote: >=20 > > On Wed, May 15, 2002 at 12:38:49PM +1000, Bruce Evans wrote: > > > > I really do not like this change, please return things such that the > > > > long-ingraned "cd /usr/src ; make includes". > > > > > > I planned to fix this by changing "make includes" to print > > > "Unwarranted chumminess with implementation". > > > > What is your perfered way to get the results of > > (cd /usr/src ; make includes) ? >=20 > I prefer not to do this. There are simpler methods to get broken > headers, starting with rm -rf :). I prefer everyone to use (documented) > user-level targets like "world" and "install" for installing includes, > since it would be difficult to make the includes target safe for general > use. I don't know what it really useful for. >=20 It's now more useful (incsinstall) than before, for developers. Imagine you've modified the include file foo.h and want to try if "bar" compiles with it. As incsinstall now works on per-makefile level, you can just install this particular include (or group of related includes), and then just cd to bar's directory, and try to make it. It is also useful as a standard target so we don't forget to install some includes (which might be needed to build libraries), like we did before. (Of course, if the header is local, one might use -I${.CURDIR}, as many bsd.lib.mk makefiles currently do. We can now drop these or similar lines (see libbz2/Makefile for example), but I think they are still useful in at least "developer" mode. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --54u2kuW9sGWg/X+X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84hmCUkv4P6juNwoRAvSxAJ4+51L2vewIgaOgGacUO0cLXAcHdACeOYyA BcDrTL0847h5CdhxzGY12Yg= =g6yY -----END PGP SIGNATURE----- --54u2kuW9sGWg/X+X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message