mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-06-20 09:57:42 +02:00
This makes it easier (possible?) to generate sshuttle.8 from sshuttle.md on MacOS. We also import the git-enhanced version numbering magic so the generated manpage can have a real version number.
9 lines
282 B
Plaintext
9 lines
282 B
Plaintext
redo-ifchange md2man.py
|
|
if ./md2man.py </dev/null >/dev/null; then
|
|
echo './md2man.py $2.md.tmp'
|
|
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
|