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

if test -e @pkgdatadir@/existence.sh
then
    . @pkgdatadir@/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