charset/tests: assert the exact values of str[n]casecmp_m()
[Samba.git] / lib / ldb / docs / installdocs.sh
blob6cc7b74ad519497ec4d4eaa83886d880239a8649
1 #!/bin/sh
2 # install ldb docs
3 # tridge@samba.org August 2006
5 MANDIR="$1"
7 MAN1="`/bin/ls man/*.1`"
8 MAN3="`/bin/ls man/*.3`"
10 if [ -z "$MAN1" ] && [ -z "$MAN3" ]; then
11 echo "No manpages have been built"
12 exit 0
15 mkdir -p "$MANDIR/man1" "$MANDIR/man3"
16 cp $MAN1 "$MANDIR/man1/" || exit 1
17 cp $MAN3 "$MANDIR/man3/" || exit 1