|
Boost-Build : |
Subject: Re: [Boost-build] namespaces
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-10-14 14:08:44
AMDG
On 10/14/2016 11:33 AM, Stefan Seefeld wrote:
>
> I have "import common ;" in my Jamfile. Later, I write an action as
>
> actions sphinx
> {
> common.copy $(something) : $(something-else) ;
> }
>
> resulting in the error
>
> /bin/sh: line 6: common.copy: command not found
>
> How can I call common.copy inside the "sphinx" action above ? Am I
> approaching this the wrong way (i.e., should I define something other
> than an action for this) ?
>
The body of an action is passed to the shell.
If you want to call Jam code, use a rule instead.
In Christ,
Steven Watanabe
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