summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/man/build_manpages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/man/build_manpages.sh')
-rwxr-xr-xsource4/lib/ldb/man/build_manpages.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/ldb/man/build_manpages.sh b/source4/lib/ldb/man/build_manpages.sh
new file mode 100755
index 0000000000..5e5e698ac4
--- /dev/null
+++ b/source4/lib/ldb/man/build_manpages.sh
@@ -0,0 +1,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