[PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man

2014-04-06 Thread Tomi Ollila
On Sat, Apr 05 2014, "W. Trevor King" wrote: > On Sat, Apr 05, 2014 at 10:05:31PM +0300, Tomi Ollila wrote: >> On Sat, Apr 05 2014, W. Trevor King wrote: >> > I use POSIX's 'command -v' [1] to find the path to rst2man? >> > >> > [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/comma

[PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man

2014-04-05 Thread Tomi Ollila
On Sat, Apr 05 2014, "W. Trevor King" wrote: > Gentoo's dev-python/docutils-0.10 installs Docutils scripts with a > *.py extension, so I have /usr/bin/rst2man.py and no rst2man script. > This patch supports users with both types of systems by checking for > rst2man, falling back on rst2man.py, an

[PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man

2014-04-05 Thread W. Trevor King
On Sat, Apr 05, 2014 at 10:05:31PM +0300, Tomi Ollila wrote: > On Sat, Apr 05 2014, W. Trevor King wrote: > > I use POSIX's 'command -v' [1] to find the path to rst2man? > > > > [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html > > ? > Except the reference to _POSIX_ page

[PATCH 5/7] doc: Allow rst2man.py as an alternative to rst2man

2014-04-05 Thread W. Trevor King
Gentoo's dev-python/docutils-0.10 installs Docutils scripts with a *.py extension, so I have /usr/bin/rst2man.py and no rst2man script. This patch supports users with both types of systems by checking for rst2man, falling back on rst2man.py, and giving up only if neither is found. Users can also s