simple/scat/GNUmakevars.sh

16 lines
211 B
Bash
Raw Normal View History

2007-02-27 09:39:04 +01:00
#!/bin/sh
prefix=${prefix:-/usr/local}
echo "BINDIR=$prefix/bin"
for i in "$prefix/share/man/man1" "$prefix/man/man1"
do
if [ -d "$i" -a -w "$i" ]
then
echo "MAN1DIR=$i"
break;
fi
done
echo
echo "all:"