From owner-freebsd-current Tue May 14 6:36:20 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 186D537B408 for ; Tue, 14 May 2002 06:35:57 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4EDYum97139; Tue, 14 May 2002 16:34:56 +0300 (EEST) (envelope-from ru) Date: Tue, 14 May 2002 16:34:56 +0300 From: Ruslan Ermilov To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: make includes Message-ID: <20020514133456.GD81899@sunbay.com> References: <20020514083549.GA54565@sunbay.com> <20020514232130.A4136-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T7mxYSe680VjQnyC" Content-Disposition: inline In-Reply-To: <20020514232130.A4136-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 --T7mxYSe680VjQnyC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 14, 2002 at 11:32:19PM +1000, Bruce Evans wrote: > On Tue, 14 May 2002, Ruslan Ermilov wrote: >=20 > > On Tue, May 14, 2002 at 06:21:41PM +1000, Bruce Evans wrote: > > > On Tue, 14 May 2002, Ruslan Ermilov wrote: > > > > > > > Yes. "make includes" has been modified to mean "build includes", > > > > and the new "make incsinstall" has been added to "install" them. > > > > So the correct sequence is "make includes incsinstall". > > > > > > > > I'm still unsure about the name; I'd have liked to rename it to > > > > "includesinstall" but that is too long. > > > > > > I still prefer something like > > > "__private_part_of_installworld_to_install_headers_dont_use_directly". > > > > > EPARSE; what does that mean? :-) > > > > "incsinstall" is the standard target which performs a part of a normal > > "install" -- installs C includes. >=20 > Installing includes just corrupts the host environment unless the new > includes are consistent with the old libraries. If you know the build > system, the includes and the libraries well enough to know when it is > safe to use, then you know enough to never need it. >=20 People might want to use it like that: make world mv /usr/include /usr/include.old make incsinstall To remove stale includes. Previous version had "includes" that both built and installed includes, I have just split it in two parts. (I will add the par-includes to Makefile.inc1 tomorrow, FWIW.) 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 --T7mxYSe680VjQnyC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84RKAUkv4P6juNwoRAjX/AKCHmhCL/hg1WwbPCqT1HcXAn6D+8gCdHgjP xYgDXP5GEi7NJ68KGnJlGVY= =TGWG -----END PGP SIGNATURE----- --T7mxYSe680VjQnyC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message