From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 23:11:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77A7E16A4CE for ; Fri, 2 Jul 2004 23:11:47 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3697543D3F for ; Fri, 2 Jul 2004 23:11:47 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i62NBeUd020230; Fri, 2 Jul 2004 19:11:40 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0741C52347; Fri, 2 Jul 2004 16:11:40 -0700 (PDT) Date: Fri, 2 Jul 2004 16:11:40 -0700 From: Kris Kennaway To: Geert Hendrickx Message-ID: <20040702231140.GA55501@xor.obsecurity.org> References: <20040701225452.GA16898@lori.mine.nu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20040701225452.GA16898@lori.mine.nu> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: make buildworld: build changes only? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 23:11:47 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 02, 2004 at 12:54:53AM +0200, Geert Hendrickx wrote: > Hi,=20 >=20 > 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. =20 >=20 > 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. =20 >=20 > I know this might brake some dependencies in some cases, but I expect > this to be rare. I could still do a "full" buildworld when necessary. = =20 >=20 > Any suggestions? =20 The only safe way to rebuild is with the full documented cycle that includes a buildworld. "Unsafe" means "may leave you with an unusable system". If you want to play around with other make targets you can indeed short-cut the build process a lot of the time, but you're expected to be advanced enough to recover your system on your own when you damage something, and that pretty much means being able to figure out how to use the make shortcuts on your own :-) Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5eusWry0BWjoQKURAk0jAJ9hh/gJaw+Bb7pj12EYVEha00m1eACg0c6I BkLU9zql+9neZTSiQIFGp+U= =ztMN -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--