Re: Running boost book from outside the boost directories
John Maddock <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <41D6668126994716801032E0D2CC9BEC@acerlaptop> |
> Once BoostBook has been configured, we can build some documentation. > First, change to the directory $BOOST_ROOT/doc and remove (or make > writable) the .html files in $BOOST_ROOT/doc/html. Then, run bjam to build > HTML documentation. You should see several warnings like these while > DocBook documentation is being built from BoostBook documentation: > > Which begs the question of how one can do this for anything that is not > inserted to the boostbuild tree. How do I go about building documentation > with boost tools for a project which is not inside the boost tree? Eh? Just do it! Assuming you have a Jamfile, just invoke bjam. All it needs is BOOST_BUILD_PATH setting so that Boost.Build can find it's files. Also take a look at how sandbox/tools/auto_index is set up, as this provides a simpl-ish example of what you want to do. John.