use unsigned instead of uint32_t for LDB counters.
[Samba/cd1.git] / source4 / script / installman.sh
blob3350eb87bc1a126debdd702f9f59a7593d5032d8
1 #!/bin/sh
3 MANDIR=$1
4 shift 1
5 MANPAGES=$*
7 for I in $MANPAGES
8 do
9 SECTION=`echo -n $I | sed "s/.*\(.\)$/\1/"`
10 DIR="$MANDIR/man$SECTION"
11 if [ ! -d "$DIR" ]
12 then
13 mkdir "$DIR"
16 BASE=`basename $I`
18 echo "Installing manpage \"$BASE\" in $DIR"
19 cp $I $DIR
20 done
22 cat << EOF
23 ======================================================================
24 The man pages have been installed. You may uninstall them using the command
25 the command "make uninstallman" or make "uninstall" to uninstall binaries,
26 man pages and shell scripts.
27 ======================================================================
28 EOF
30 exit 0