doc/prerst2x.py: Adjust to handle any output format, not just man pages
authorW. Trevor King <wking@tremily.us>
Sat, 10 May 2014 04:51:42 +0000 (21:51 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 10 May 2014 16:49:23 +0000 (09:49 -0700)
commitacb1c6dc1128eaefe0a8def82da7800727716139
tree366561ef11ac3b16e332c9c87c07a0ab531da207
parent4f5a9c7d4fc607128aebbc1443d6da5439f0d2eb
doc/prerst2x.py: Adjust to handle any output format, not just man pages

For example, with these changes we can build HTML output using:

  $ prerst2x.py rst2html ${SRCDIR} ${OUTDIR} html

The extension adjustment ensures that the output filenames from the
above command match what we currently generate with sphinx-html.
doc/Makefile.local
doc/prerst2x.py [moved from doc/prerst2man.py with 82% similarity]