Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-26 06:06:02


On Monday 26 September 2005 14:56, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > Hi Liam,
> >
> >> I'm interested in using bjam's new (or newish, I don't know, I'm new to
> >> jam itself) SHELL builtin rule.
> >>
> >> I'm using bjam as jam (so without the BoostBuild functionality), and I
> >> find that the jam v1 compatibility rules overwrite the SHELL builtin
> >> with the Shell rule for dealing with shell scripts.
>
> How is that possible? The SHELL builtin is a variable, not a rule,
> IIRC.

No:
rule Shell
{
DEPENDS shell : $(<) ;
DEPENDS $(<) : $(>) ;
SEARCH on $(>) = $(SEARCH_SOURCE) ;
MODE on $(<) = $(SHELLMODE) ;
Clean clean : $(<) ;
Chmod $(<) ;
}

But then, it's "Shell", not "SHELL", so I'd think that "SHELL" should be still
usable.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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