mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
9b0273faa7
shfmt -f lib/ldb/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
18 lines
326 B
Bash
Executable File
18 lines
326 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
|