diff --git a/docu/create_manpage.sh b/docu/create_manpage.sh new file mode 100755 index 00000000..30bb538f --- /dev/null +++ b/docu/create_manpage.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# needs pandoc and php installed + +# remove old files +rm fenrir.1 +rm user.md + +# convert to markdown +php DokuWiki-to-Markdown-Converter/convert.php user.txt + +# convert markdown to manpage +pandoc user.md -f markdown -t man -s -o fenrir.1 +