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



-------------------------------------------------------
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