Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2004 18:51:42 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Geert Hendrickx <geert.hendrickx@ua.ac.be>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld: build changes only?
Message-ID:  <XFMail.20040702185142.conrads@cox.net>
In-Reply-To: <20040701225452.GA16898@lori.mine.nu>

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

On 01-Jul-2004 Geert Hendrickx wrote:
> Hi, 
> 
> I'm keeping track of -STABLE on semi-regular basis.  But when I cvsup
> to the latest sources and do make buildworld, it always starts to
> rebuild the world entirely from scratch.  That's somewhat frustrating,
> especially if cvsup showed only a screenful of changes.  
> 
> Is it possible to rebuild these changes only?  I know I could cd to
> the directory of each changed file and do a make install there, but
> that is of course not quite practical.  I suppose this could be
> automated, since this was exactly the design principle of make:
> rebuild changed sources only.  

make -DNOCLEAN buildworld

See /usr/src/Makefile.inc1 for all the various switches that are
available.  You may want to set some of them permanently in
/etc/make.conf.

Just do be aware that doing this can lead to trouble sometimes.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"



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