Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 16:34:56 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: make includes
Message-ID:  <20020514133456.GD81899@sunbay.com>
In-Reply-To: <20020514232130.A4136-100000@gamplex.bde.org>
References:  <20020514083549.GA54565@sunbay.com> <20020514232130.A4136-100000@gamplex.bde.org>

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

--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




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