Subject: Re: how to install -current?
To: None <current-users@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 01/23/2003 00:06:41
On Wed, Jan 22, 2003 at 02:28:07PM +0200, Alan Barrett wrote:
| > All `-i idir' does is installs from DESTDIR to idir after the
| > buildtarget (which defaults to "build") completes.
|
| That's the problem. It would be less confusing if the buildtarget
| defaulted to "do nothing" (or the do_buildsystem variable in build.sh
| defaulted to false) and if there were a separate command line option to
| set do_buildsystem=true and buildtarget=build. Unfortunately, both "-b"
| and "-B" options are already taken.
|
| One way forward would be to add some action args (like "bmake", "tools",
| "build", "release", "install") so we could do stuff like
|
| build.sh [-options] build install
|
| to build and install (like "-i idir" today), or
|
| build.sh [-options] install
|
| to just install (like "-b -i idir" today).
This could be a good idea; I'll think it over. That might work quite
well actually.
(I've at least changed the usage message on build.sh to separate
"exclusive build target" options from the "set variable" options.)