Ticket #5709: patch
File patch, 1.0 KB (added by , 11 years ago) |
---|
-
tools/build/v2/tools/docutils.jam
56 56 .setup = [ 57 57 common.prepend-path-variable-command PYTHONPATH 58 58 : $(.docutils-dir) $(.docutils-dir)/extras ] ; 59 RST2XXX = [ common.find-tool rst2html ] ; 59 60 } 60 61 } 61 62 -
tools/build/v2/tools/common.jam
334 334 # first path found. Otherwise, returns an empty string. If 'path-last' is 335 335 # specified, PATH is searched after 'additional-paths'. 336 336 # 337 localrule find-tool ( name : additional-paths * : path-last ? )337 rule find-tool ( name : additional-paths * : path-last ? ) 338 338 { 339 339 local path = [ path.programs-path ] ; 340 340 local match = [ path.glob $(path) : $(name) $(name).exe ] ;