Boost logo

Boost :

Subject: Re: [boost] [1.45][signals2] Can't build PDF docs?
From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2010-11-20 16:41:04


On Saturday 20 November 2010, John Maddock wrote:
> On Friday 19 November 2010, John Maddock wrote:
> > I can see that process_snippets.exe is being invoked, but I can't find
> > the output xml files anywhere.
> >
> > This occurs if I either build from within the doc/pdf directory, or
> > the libs/signals2/doc directory.
> >
> > Any ideas?
> >
> >The trac ticket https://svn.boost.org/trac/boost/ticket/4872 says the
> >destination dir when running under linux of
> >bin.v2/libs/signals2/doc/gcc-4.4.3/debug is wrong, but thats the
> > directory it uses when I build the html, and it works in that case.
> > What is the proper destination directory for generated documentation
> > xml files?
>
> That's strange, for me the doc build only succeeds if the xml files are
> output into the same directory as the Jamfile - they get included by
> another xml file in that directory yes?

Yes, tutorial.xml for example. However, when bjam runs xsltproc it has
a --path option that includes the directory where the generated xml files
are (from "bjam -d2" output on trunk in the libs/signals2/doc directory):

"xsltproc" --stringparam boost.defaults "Boost" --stringparam
boost.root "../../../.." --path "../../../bin.v2/libs/signals2/doc/gcc-4.3.2/debug" --xinclude -o "../../../bin.v2/libs/signals2/doc/gcc-4.3.2/debug/signals.docbook" "/home/fhess/svn/boost_trunk/tools/boostbook/xsl/docbook.xsl" "signals.xml"




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