[openbeos] Re: Preferences install target

  • From: Evan Knop <argent@xxxxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 20 Mar 2002 04:51:34 -0500

on Tue, Mar 19 22:41, Michael Phipps was heard to have remarked:
>Eek. That sounds similar to what caused me so much grief. I mean - the logical
>extension of that might be to install servers to /boot/system...
>
>Would it be acceptable to you to:
>ln -s /boot/home/openbeos/build/bin/workspaces /boot/beos/preferences
>Then you could do a normal build.
>
>We do this sort of thing at work all the time.
>
>>Hi,
>>
>>it may be a bit early, but does anybody mind when I add this rule:
>>InstallBin /boot/beos/preferences : $(<) ;
>>
>>to the Preference rule?
>>It would allow to invoke "jam install" and to have the executable put 
>>into the correct directory - the downside would be that you can 
>>overwrite your original preferences applications relatively easy.
>>At least for the Workspaces preferences app, this would be very handy 
>>(as this is complete :-)). But I can also add this rule only for that 
>>application or in my local copy only.

I think it might be best to invoke it as:

InstallBin ${BUILDTARGET}/beos/preferences : $(<) ;

With a reasonable default for ${BUILDTARGET} in the top-level jamfile
(say, /boot or the BUILDTARGET environment variable)?

That way, people who want to live on the bleeding edge (install into
/boot) can, while people who want to marshall things (for, say, an
installer or to examine things before making changes) can do that and
save themselves the grief of a botched IDE driver that they didn't
know they were installing (jam from the root).

Oh, and would it make sense to include the Jam for OpenBeOS sources in
the tree (and a small makefile for that) so that the OpenBeOS sources
could be build without having to download extra tools?

-- 
Evan Knop <argent@xxxxxxxxxxx>      http://lore.dartmouth.edu/~argent/

Shit Happens.

Other related posts: