summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/man/build_manpages.sh
blob: 5e5e698ac4246d45f302c81ef40f369900b6154b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

for f in man/man3/*.yo; do
    base=`basename $f .yo`;
    man=man/man3/$base.3;

    if test $f -nt $man; then
	echo Creating $man from $f
	yodl2man -o $man $f || rm -f $man
    fi
done