Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 1999 10:32:04 -0700 (PDT)
From:      Mike Meyer <mwm@phone.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: cvsup 
Message-ID:  <Pine.BSF.4.10.9909031023440.407-100000@guru.phone.net>
In-Reply-To: <35612.936349922@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Sep 1999, Sheldon Hearn wrote:
:->On Thu, 02 Sep 1999 23:06:39 -1000, "Art Neilson, KH7PZ" wrote:
:->> in the future, how do I just update my sources with cvsup changes
:->> and only recompile those sources affected?
:->You either look at the output of cvsup -L 2 and update the affected bits
:->by hand, or you ``make world'' if you're as lazy as the rest of us.
:->There's no automated mechanism for only building updated bits.

The easy way to "update of the affected bits by hand" is to just do a
"make" - but you have to know what you're doing! The point of doing
the "world" makes is that you get the correct set of includes &
libraries. Those are the only build mechanisms that are supported.

I've found that deleting the /usr/obj tree before doing a buildworld
makes it run faster. Buildworld walks that full tree twice - once to
change flags, and once to delete it. Doing the full tree once and the
things that don't delete because the flags are wrong twice is faster.

:->> do I make update or just make or what?
:->
:->No. The update target is just a mechanism to allow you to update your
:->source tree conveniently. It's not much more convenient than running
:->cvsup, and you'll need to play with settings in your /etc/make.conf to
:->make it work. Probably not worth worrying about.

Make update can be set up to get both the soures and the ports
collection. As such, I think that's worth doing.

	<mike




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909031023440.407-100000>