summaryrefslogtreecommitdiff
path: root/gendoc.sh
blob: 56d08806d61093051767468ac0e03da65921ec61 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash
dir=$(mktemp -d)
cp doc/* $dir/
cp README $dir/
fs=$(find $dir -type f)

for f in $fs
do
    ghmd -o ${f}.html $f
done
wkhtmltopdf $dir/README.html $(find $dir -name '*.html' -not -name 'README.html') dokumentation.pdf