1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
samba-mirror/source3/lib/ldb/docs/installdocs.sh
Andrew Tridgell 3e2c696e45 r18866: Jeremy and Volker have given the go-ahead on the group mapping ldb
code. Yay!

This first commit copies lib/ldb/ from Samba4. A huge congratulations
should go to Simo on this - he has put an enormous amount of work into
ldb, and it's great to see it go into the Samba3 tree.
(This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)
2007-10-10 12:14:36 -05:00

18 lines
331 B
Bash
Executable File

#!/bin/sh
# install ldb docs
# tridge@samba.org August 2006
MANDIR="$1"
MAN1="`/bin/ls man/*.1`"
MAN3="`/bin/ls man/*.3`"
if [ -z "$MAN1" ] && [ -z "$MAN3" ]; then
echo "No manpages have been built"
exit 0
fi
mkdir -p "$MANDIR/man1" "$MANDIR/man3"
cp $MAN1 "$MANDIR/man1/" || exit 1
cp $MAN3 "$MANDIR/man3/" || exit 1