Subject: HEADS UP: new build.sh & top level Makefile functionality ...
To: None <current-users@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 12/25/2002 12:04:59
Seasons greetings.

I've written some new functionality for you to use.


top-level Makefile targets
--------------------------

  buildworld	Builds a full distribution into DESTDIR (a la
		"make distribution"), except that DESTDIR must be
		a non root directory.

  installworld	Copy the contents of DESTDIR to INSTALLWORLDDIR (which
		defaults to `/' - the root directory) as if the sets
			base comp games man misc text
		(i.e, all except "etc") had been extracted.
		Prevents copying to `/' if cross-compiling.
		It is recommended that you build & install & boot from
		a new kernel before running this step.


build.sh options
----------------

    -i installworlddir	After all other operations have occurred, run
			"make INSTALLWORLDDIR=installworlddir installworld"



These work even when building with options such as "UNPRIVED"
(just don't forget to run "make installworld" as root in that case :)

Enjoy!
Luke.