Populating /usr/include for make buildworld?

Craig Rodrigues rodrigc at crodrigues.org
Sat Feb 10 19:44:06 UTC 2007


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.

-- 
Craig Rodrigues        
rodrigc at crodrigues.org


More information about the freebsd-current mailing list