summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/man/build_manpages.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-20 13:20:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:50 -0500
commit4219ec1dece35452c3887b2013e636105fc44f33 (patch)
treef0cd369468d2dffcb287805f84b79aa10b22772c /source4/lib/ldb/man/build_manpages.sh
parent6ebd4a9d64caa8fb0fadc4276f526fb52e944c31 (diff)
downloadsamba-4219ec1dece35452c3887b2013e636105fc44f33.tar.gz
samba-4219ec1dece35452c3887b2013e636105fc44f33.tar.bz2
samba-4219ec1dece35452c3887b2013e636105fc44f33.zip
r790: started working on some documentation (manual pages) for ldb
(This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)
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