#!/bin/sh -e

[ -z "$PREFIX" ] && PREFIX="/usr/local"
[ -z "$MANDIR" ] && MANDIR="$PREFIX/share/man"

install -d "$DESTDIR/$MANDIR/man1"
for manpage in man/*; do
    install "$manpage" "$DESTDIR/$MANDIR/man1/`basename $manpage`"
done

#!/bin/sh -e

[ -z "$PREFIX" ] && PREFIX="/usr/local"
[ -z "$MANDIR" ] && MANDIR="$PREFIX/share/man"

install -d "$DESTDIR/$MANDIR/man1"
for manpage in man/*; do
    install -m 644 "$manpage" "$DESTDIR/$MANDIR/man1/`basename $manpage`"
done

Install man pages as non-executable
Install man pages as non-executable

Fixes TOOLS-143

Signed-off-by: Garrett Holmstrom <281513dc3cfaa2bb306541b4b5ebd7c8b522e0e3@fedoraproject.org>
