On Fri, 11 Jun 2004 10:02:49 +0400, Vladimir Prus wrote:

> Bart Garst wrote:
>> I wrote a Jamfile.v2 that extracts documentation from the source files
>> (I'm working with the date_time library). I have it tucked away in:
>>  boost_root/libs/date_time/xmldoc
>>
>> It works like expected when `bjam --v2` is run from that directory. I also
>> have the xml output it generates incorporated into the boostbook output
>> (when bjam is run from boost_root/doc ).
>>
>> My question is:
>> Is it possible to have bjam re-generate the doxygen-xml, using my
>> Jamfile.v2, when invoked from boost_root/doc ?
> 
> I think so. The doc/Jamfile.v2 in current CVS contains the following:
> 
> # The <dependency> below allows Boost.Build to see Doxygen
> # main target, which is necessary to correctly build
> # documentation
> boostbook doc : src/boost.xml
>     : <dependency>../libs/program_options/doc//autodoc.xml
> 
> I believe if you make a similiar entry for date_time it should work.
> 
> For reference, here's Jamfile for program_options:
> import toolset ;
> toolset.using doxygen ;
> 
> boostbook program_option : program_options.xml ;
> 
> doxygen autodoc
>     : [ glob ../../../boost/program_options/*.hpp ] ;
> 
> If you use different target name that "autodoc", you'd need to adjust 
> reference in main Jamfile.
> 
> HTH,
> Volodya
> 
> 

Yes, this helped a great deal. I pretty much had to duplicate that way it
was done for program_options but it works.

I assume you are Vladimir (reply signature was different)?
I build the docs for program_options and got several warnings about the
boostbook.dtd failing to load. I found most of the xml files in
libs/program_options/doc use an absolute path when referencing
boostbook.dtd. The warning messages went away once those paths were
changed to relative. (Thought you might like to know).


Thanks for your help,
Bart



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to