Boost logo

Boost-Build :

Subject: Re: [Boost-build] rule execution order
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2016-10-16 18:29:05


On 16.10.2016 18:07, Steven Watanabe wrote:

[...]

>> Any idea what I'm missing ? Should I use some other means to copy my
>> files around ?
>>
> It's impossible to use install to copy
> the results like this. You have to know
> all the files that you're going to copy
> before you build anything. Since the
> files that you need to copy are dependent
> on the results of running make, it's
> problematic.
>
> Is there any reason you can't just
> call sphynx-build directly from the Jamfile
> without going through make?

The 'make' call is the platform-agnostic frontend to the sphinx build
tool. Calling "sphinx-build" explicitly would require a bunch of
command-line options, which are platform-specific (in addition to option
passing itself is platform specific). But, to be honest, I haven't even
tried.

Still, whether I run `sphinx-build`or `make`, I still need to copy files
back and forth, so I don't think that particular choice affects the
other problem above. Is there no built-in command that allows me to copy
files in an "imperative" way, so I can construct my "numpy" rule around it ?

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