1#!/bin/sh 2# install ldb docs 3# tridge@samba.org August 2006 4 5MANDIR="$1" 6 7MAN1="`/bin/ls man/*.1`" 8MAN3="`/bin/ls man/*.3`" 9 10if [ -z "$MAN1" ] && [ -z "$MAN3" ]; then 11 echo "No manpages have been built" 12 exit 0 13fi 14 15mkdir -p "$MANDIR/man1" "$MANDIR/man3" 16cp $MAN1 "$MANDIR/man1/" || exit 1 17cp $MAN3 "$MANDIR/man3/" || exit 1 18