Subject: Re: [Boost-docs] [quickbook] Include XML generated by Quickbook from Boostbook
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-03-15 18:11:11
> 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.
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC