|
Boost-Build : |
Subject: Re: [Boost-build] newbie: How does one install, where intsall is defiend in site-config.jam
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-15 10:12:22
On Wednesday 15 July 2009 Avi Bahra wrote:
> Can any one help with bjam newbie question ;
>
> I am trying to specify the installation directory in the site-config.jam
> i.e
> path-constant INSTALL_DIR : $HOME/installdir ;
>
> In my jamfile that has a executable I have:
>
> install dist : myexe : <location>$INTALL_DIR ;
The variables are accessed using $(), not $. Also, you have
INSTALL_DIR variable, but try to access INTALL_DIR (without 'S').
Also, HOME variable is not available in site-config.jam, you need:
import os ;
local HOME = [ os.environ HOME ] ;
path-constant INSTALL_DIR : $(HOME)/installdir ;
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk