aboutsummaryrefslogtreecommitdiff
path: root/doc/man/produce_html.sh.in
blob: d2bd768a803c06df1a5acbca52bd46bd004bd60e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if test -e @PKGDATADIRECTORY@/existence.sh
then
    . @PKGDATADIRECTORY@/existence.sh
else
    . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
fi

if existence mandoc;
then
    for f in `find . -name \*\.[1-9]`;
    do
        mandoc -T html $f > $f.html;
    done
fi