Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-01 13:41:23

On Sunday 30 March 2008 23:11:29 Eric Woodruff wrote:
> Hi,
> I'm ultimately seeking to create an rpm generator to package files in a
> dist directory from a pre-defined list, with a scanner that will read
> this list and build the targets necessary to satisfy the install. To
> simplify things, I'll start with a tar generator that works something like:
> tar dist : files.list ;
> And suppose files.list just has one entry of '/usr/bin/hello'.
> Building dist.tar should first build dist/usr/bin/hello. This implies to
> me that bjam should understand how to build dist/usr/bin/hello from the
> command line, given the following Jamfile:
> make hello : : @sayhi ;
> actions sayhi {
> echo hi > $(<) ;
> }
> install dist/usr/bin : hello ;

I'm not exactly sure why being able to specify a file on the *command line*
will help you to implement any Boost.Build core functionality, unless you're
planning to run a second bjam.

> Unfortunately, it doesn't work:
> rm -rf dist bin ; bjam dist/usr/bin/hello
> don't know how to make <e>dist/usr/bin/hello
> ...found 1 target...
> ...can't find 1 target...

Please always include the complete output. In this case, you've skipped
the following bits:

    notice: could not find main target dist/usr/bin/hello
    notice: assuming it's a name of file to create.

Anyway, can you try SVN HEAD, revision 43986, and see if it helps?

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at