Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2007 00:06:56 +0100
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Populating /usr/include for make buildworld?
Message-ID:  <200702110006.59714.tijl@ulyssis.org>
In-Reply-To: <20070210194405.GA8434@crodrigues.org>
References:  <20070210165904.GA58269@crodrigues.org> <20070210194405.GA8434@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 10 February 2007 20:44, Craig Rodrigues wrote:
> On Sat, Feb 10, 2007 at 11:59:04AM -0500, Craig Rodrigues wrote:
> > I am trying to see if I have any outdated files in /usr/include by
> > doing:
> > cd /usr/obj ; rm -r *
> > cd /usr/include ; rm -r *
> > cd /usr/src; make buildworld
> 
> Hi,
> 
> I had better luck with:
> cd /usr/obj ; rm -r *
> cd /usr/include ; rm -r *
> mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include
> cd /usr/src; make installincludes
> make buildworld
> 
> I'm not sure if there is a better way to do it using the existing
> make target rules.

What about "make check-old" after installworld? That checks for old
files, libs, dirs over your entire system, not just /usr/include.



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