Boost logo

Boost :

Subject: Re: [boost] RFC: Automatic indexing of quickbook/boostbook/docbook docs.
From: John Maddock (john_at_[hidden])
Date: 2008-11-29 05:13:48


Steven Watanabe wrote:
>> AMDG
>>
>> John Maddock wrote:
>>> Some rather basic documentation for the tool itself is here:
>>> http://svn.boost.org/svn/boost/sandbox/tools/auto_index/doc/html/index.html
>>> note that currently there is no Boost.Build integration - I really
>>> need some help with that - so the tool is much harder to use than it
>>> should be.
>>
>> I've worked out how to insert an extra tool in the
>> middle of the boostbook toolchain. See attached.

That would be way cool, but it doesn't work for me:

I cut and pasted your code into the type_traits Jamfile.v2, and without
"<modify-docbook>on" I see:

c:/data/boost/boost/trunk/tools/build/v2/tools\boostbook.jam:359: in
object(boostbook-generator)@73.run
warning: rulename $(base-target).depends expands to empty string
c:/data/boost/boost/trunk/tools/build/v2/build\generators.jam:994: in
try-one-generator-really
c:/data/boost/boost/trunk/tools/build/v2/build\generators.jam:1056: in
try-one-generator
c:/data/boost/boost/trunk/tools/build/v2/build\generators.jam:1268: in
construct-really
c:/data/boost/boost/trunk/tools/build/v2/build\generators.jam:1340: in
generators.construct
c:/data/boost/boost/trunk/tools/build/v2/build\targets.jam:1431: in
construct
c:/data/boost/boost/trunk/tools/build/v2/build\targets.jam:1244: in
object(typed-target)@428.generate
c:/data/boost/boost/trunk/tools/build/v2/build\targets.jam:767: in
generate-really
c:/data/boost/boost/trunk/tools/build/v2/build\targets.jam:739: in
object(main-target)@435.generate
c:/data/boost/boost/trunk/tools/build/v2/build\targets.jam:257: in
object(project-target)@424.generate
c:/data/boost/boost/trunk/tools/build/v2\build-system.jam:682: in load
c:\data\boost\boost\trunk\tools\build\v2/kernel\modules.jam:283: in import
c:\data\boost\boost\trunk\tools\build\v2\kernel\bootstrap.jam:134: in
boost-build

And with "<modify-docbook>on" I see:

c:/data/boost/boost/trunk/tools/build/v2/kernel\modules.jam:103: in
modules.call-in
rule modified-docbook.modify-docbook unknown in module modified-docbook.
c:/data/boost/boost/trunk/tools/build/v2/util\indirect.jam:90: in
indirect.call
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:758: in
object(action)@467.actualize
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:301: in
actualize-action
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:489: in
actualize-no-scanner
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:130: in
object(file-target)@468.actualize
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:779: in
actualize-source-type
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:800: in
actualize-sources
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:740: in
object(action)@472.actualize
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:301: in
actualize-action
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:489: in
actualize-no-scanner
c:/data/boost/boost/trunk/tools/build/v2/build\virtual-target.jam:130: in
object(file-target)@473.actualize

What am I doing wrong?

Cheers, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk