|
Boost-Build : |
From: Joao Abecasis (jpabecasis_at_[hidden])
Date: 2005-02-15 22:43:54
Hi!
AFAICT boostbook is not honoring <implicit-dependency>. The feature is
ignored on all boostbook targets.
The attached patch fixes this for the xsltproc toolset, which is used
everywhere by the boostbook toolset. As I can't be sure this is the best
way to go about solving the issue, I'm posting the code here for review
and possible approval.
Comments welcome.
Daniel James wrote:
> Vladimir Prus wrote:
>
>
>>Looks up the usage of program_options in the boost.xml file. I think you
>>need to
>>
>>1. <xi:include your_xml_file_without_any_directory/>
>>
>>2. Add <implicit-dependency> in doc/Jamfile.v2 on the target which produces
>>the xml file. The necessary include path will be set up automatically.
>>
>>HTH,
>>Volodya
>
>
> As far as I can tell, the path isn't added. I also tried using
> <dependency> instead of <implicit-dependency> but that didn't help.
With the attached patch one can do (tested!):
<Jamfile>
# ...
targets.create-typed-target BOOSTBOOK : [ project.current ]
: sample_library_docs
: sample_library.qbk
;
boostbook sample_main_doc
: sample.xml
: <implicit-dependency>sample_library_docs
;
</Jamfile>
<sample.xml>
< ... >
<xi:include href="sample_library_docs.boostbook"/>
< ... >
</sample.xml>
HTH,
João
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk