script to convert to manpage
This commit is contained in:
parent
9d3c5f11b4
commit
2b8fa39724
13
docu/create_manpage.sh
Executable file
13
docu/create_manpage.sh
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user