make buildworld: build changes only?
Conrad J. Sabatier
conrads at cox.net
Fri Jul 2 16:51:45 PDT 2004
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 at cox.net> -- "In Unix veritas"
More information about the freebsd-questions
mailing list