Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5709: boost.build docutils module not working
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-18 11:13:06
#5709: boost.build docutils module not working
-------------------------------+--------------------------------------------
Reporter: stefan | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by stefan):
Volodya,
I have modified tools/build/v2/tools/docutils.jam, and I can in fact see
changes when I run 'bjam libs/python/doc', just not all, and just not with
the effect I had hoped I would see.
In particular:
* Into the 'init' rule, inside 'if ! $(.initialized)', I added:
RST2XXX = [ common.find-tool rst2html ] ;
ECHO "init: " $(RST2XXX) ;
but that didn't print anything.
* Into the 'html' rule (after the RST2XXX definition) I added:
ECHO "rst2xxx: " $(RST2XXX) ;
which only prints 'rst2xxx:', i.e. no value.
* Into the 'actions html' block, I added:
ECHO "$(RST2XXX)"
which generates an error '/bin/sh: line 1: ECHO: command not found',
unless I invoke bjam with '-n', in which case the error disappears. (It
still prints the '/usr/bin/python2.7' value that it seems to get from the
(wrong) assignment in the html rule above.
Thanks for your help,
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5709#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC