apenwarr-redo/docs/md-to-man.do
Avery Pennarun 99188bef0d Rename redo/python -> redo/py.
This avoids a name overlap with the system-installed copy of python.
Since redo adds the redo/ dir to the $PATH before running .do files,
python.do might see its own previously-created target instead of the
"real" python when testing, and create an infinite loop by accident.
2018-12-05 02:27:04 -05:00

8 lines
332 B
Text

redo-ifchange md2man.py ../redo/py
if ../redo/py ./md2man.py /dev/null /dev/null >/dev/null; then
echo '../redo/py ./md2man.py $2.md.tmp $2.html'
else
echo "Warning: md2man.py missing modules; can't generate manpages." >&2
echo "Warning: try this: sudo easy_install markdown BeautifulSoup" >&2
echo 'echo Skipping: $2.1 >&2'
fi