Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost] [1.38] Beta release of PDF documentation (and some helpneeded).
From: John Maddock (john_at_[hidden])
Date: 2009-02-09 05:04:44


>> Something like:
>>
>> install my_pdf_file
>> : some_target_that_produces_badly_named_file
>> : <name>nice_name <location>whatever
>> ;
>>
>> should work.

I tried adding:

install pdf-python-install
  :
    ../../libs/python/doc/tutorial/doc//tutorial
  :
    <location>.
    <name>python_tutorial.pdf
    <install-type>PDF
    <format>pdf
  ;

But get a load of Boost.Build errors:

d:/data/boost/Trunk/tools/build/v2/tools\stage.jam:143: in construct from
module object(install-target-class)@439
error: When <name> property is used in 'install', only one source is allowed
d:/data/boost/Trunk/tools/build/v2/build\targets.jam:1244: in
object(install-target-class)@439.generate from module
object(install-target-class)@439
d:/data/boost/Trunk/tools/build/v2/build\targets.jam:767: in generate-really
from module object(main-target)@444
d:/data/boost/Trunk/tools/build/v2/build\targets.jam:739: in
object(main-target)@444.generate from module object(main-target)@444
d:/data/boost/Trunk/tools/build/v2/build\targets.jam:257: in
object(project-target)@433.generate from module object(project-target)@433
d:/data/boost/Trunk/tools/build/v2\build-system.jam:682: in load from module
build-system
d:\data\boost\Trunk\tools\build\v2/kernel\modules.jam:283: in import from
module modules
d:\data\boost\Trunk\tools\build\v2\kernel\bootstrap.jam:138: in boost-build
from module
d:\data\boost\Trunk\boost-build.jam:17: in module scope from module

Any ideas or workarounds?

Thanks, John.


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