Ticket #5709: patch

File patch, 1.0 KB (added by Stefan Seefeld, 11 years ago)

This fixes the issue.

  • tools/build/v2/tools/docutils.jam

     
    5656        .setup = [
    5757          common.prepend-path-variable-command PYTHONPATH
    5858            : $(.docutils-dir) $(.docutils-dir)/extras ] ;
     59        RST2XXX = [ common.find-tool rst2html ] ;
    5960    }
    6061}
    6162
  • tools/build/v2/tools/common.jam

     
    334334# first path found. Otherwise, returns an empty string. If 'path-last' is
    335335# specified, PATH is searched after 'additional-paths'.
    336336#
    337 local rule find-tool ( name : additional-paths * : path-last ? )
     337rule find-tool ( name : additional-paths * : path-last ? )
    338338{
    339339    local path = [ path.programs-path ] ;
    340340    local match = [ path.glob $(path) : $(name) $(name).exe ] ;