Re: [quickbook] Include XML generated by Quickbook from Boostbook

John Maddock <[email protected]> Sat, 15 Mar 2014 18:11:11 +0000
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <[email protected]>
> I'm trying to improve docs of Boost.Variant and wish to use Quickbook from
> BoostBoock.
>
> In Boostbook's file I have the following
>
> <xi:include href="better_compilation_time.xml"/>
>
> In Jamfile.v2:
>
> using quickbook ;
> xml tutorial/better_compilation_time.xml :
> tutorial/better_compilation_time.qbk ;
>
>
> tutorial/better_compilation_time.xml is successfully generated, however
> Boostbook does not see the better_compilation_time.xml.
>
> Looks like the generated file located somewhere in bin.v2/ folder, while
> Boostbook search in libs/variant/docs directory.
>
> Please help: how to explicitly specify output folder in Jamfile.v2 for
> Quickbook? How to explicitly specify import folder for Boostbook and how to
> get output folder of Quickbook?

I'm sure there's a better way, but you could add an install rule to copy 
the generated file to the current directory, and then add an explicit 
dependency from the quickbook rule to the install rule.

John.