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

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