configure: autodetect the binary name for rst2man
commit8eb157bf53e8339bd2f8882eaaaeba470f732313
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Wed, 7 Nov 2012 20:15:49 +0000 (7 21:15 +0100)
committerUoti Urpala <uau@mplayer2.org>
Fri, 9 Nov 2012 07:32:37 +0000 (9 09:32 +0200)
tree31376019b2284c35119f819eac7aaff73c18b0cd
parentb5349bb946d481e0f74449960b8f81839b47bd3c
configure: autodetect the binary name for rst2man

Upstream docutils installs rst2man under the name "rst2man.py". Some
distros change this to "rst2man", which is a saner name for a general
binary whose implementation language doesn't matter for its callers.
Previously manpage generation rules in Makefile assumed the "rst2man"
name. Support the "rst2man.py" name too by detecting the name to use
in configure.
Makefile
configure