|
Boost-Build : |
Subject: Re: [Boost-build] namespaces
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2016-10-14 14:07:23
And a little follow-up question:
On 14.10.2016 13:33, Stefan Seefeld wrote:
> Hi,
>
>
> I have "import common ;" in my Jamfile. Later, I write an action as
>
>
> actions sphinx
>
> {
>
> common.copy $(something) : $(something-else) ;
>
> }
...seems I can (magically) solve this by defining:
cp = [ common.copy-command ] ;
actions sphinx
{
$(cp) ... ;
}
though I don't quite understand why this is working, or what that is
conceptually doing.
My follow-up question: The `common` module defines the above
'copy-command', but that only copies files, not directories. How can I
copy an entire directory ? (Please don't tell me to glob() the directory
and then copy each file in that list individually. There must be a
simpler way than that !)
Thanks,
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
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