Subject: Re: how to install -current?
To: Luke Mewburn <lukem@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 01/22/2003 08:35:36
What would the downside be of simply changing the behavior of the -i option to
just do an install (no build)?
Sverre
On Wednesday 22 January 2003 06:06, Luke Mewburn wrote:
> 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.)