2015-11-11 09:15:14 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-11-01 15:43:33 +01:00
|
|
|
set -eu
|
|
|
|
cd $(dirname "$0")
|
|
|
|
|
|
|
|
OUT=gocryptfs.1
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
# Render MANPAGE.md to a proper man(1) manpage
|
2016-11-01 15:43:33 +01:00
|
|
|
echo ".\\\" This is a man page. View it using 'man ./$OUT'" > $OUT
|
|
|
|
echo ".\\\"" >> $OUT
|
|
|
|
pandoc MANPAGE.md -s -t man >> $OUT && man ./gocryptfs.1
|