[geany/geany] 9307a6: Explicitly specify extensions when searching for rst2html
Enrico Tröger
git-noreply at xxxxx
Fri Aug 29 13:40:47 UTC 2014
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Fri, 29 Aug 2014 13:40:47 UTC
Commit: 9307a6877c75169118672e453c55b54fd9a6ab3b
https://github.com/geany/geany/commit/9307a6877c75169118672e453c55b54fd9a6ab3b
Log Message:
-----------
Explicitly specify extensions when searching for rst2html
This is cleaner than searching for rst2html and rst2html.py since Waf
offers the API for this and this change enables Windows support.
While at it, add binary name 'rst2html2' for ArchLinux support.
Modified Paths:
--------------
wscript
Modified: wscript
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -721,9 +721,9 @@ def _find_program(ctx, cmd, **kw):
def _find_rst2html(ctx):
- cmds = ['rst2html.py', 'rst2html']
+ cmds = ['rst2html', 'rst2html2']
for command in cmds:
- cmd = _find_program(ctx, command, mandatory=False)
+ cmd = _find_program(ctx, command, mandatory=False, exts=',.py')
if cmd:
break
if not cmd:
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list