Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 00:18:04 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: make includes
Message-ID:  <20020515001124.Y4301-100000@gamplex.bde.org>
In-Reply-To: <20020514133456.GD81899@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 May 2002, Ruslan Ermilov wrote:

> On Tue, May 14, 2002 at 11:32:19PM +1000, Bruce Evans wrote:
> > 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.
> >
> 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.

That's rather hackish, and doesn't handle garbage other than includes.
I usually find stale files by comparing my world with a world installed
in a nonstandard DESTDIR.  A mergemaster-like utility could automate
this.

Bruce


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?20020515001124.Y4301-100000>