On Wed, Jan 6, 2016 at 10:54 AM, Andrey Semashev
On 2016-01-06 19:39, Rene Rivera wrote:
On Wed, Jan 6, 2016 at 10:26 AM, Andrey Semashev < andrey.semashev@gmail.com> wrote:
Do I need to add:
alias boostbook : log : : : <implicit-dependency>log ;
or are the existing lines enough?
Yes, you need to add those lines. The intent is to eventually replace the hard coded lines in boost-root/doc/Jamfile.v2 with auto-discovered references to those alias targets.
Ok, thanks.
The point of confusion for me is that there seems to exist the boostbook
rule in Boost.Build and I'm supposed to re-define it with the alias?
It's not a redefinition as a rule is not in the same namespace as a target. But I see your point. And welcome alternative name suggestions for the target name :-)
Well, we could follow the standard target names from GNU:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
The 'html' and 'pdf' target names look appropriate.
Not really appropriate.. As the same target is used to generate both HTML and PDF. And by that convention it should be "boostbook" as it's the target that generates BoostBook. Which by my own argument also says it shouldn't be "boostbook".. Oh the confusion ;-) -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail