##!/bin/bash

: ${INSTALLROOT=$PWD}
read -p "Installation directory [default:\"$INSTALLROOT\"]:" -e t3
if [ -z "$t3" ]
then
echo
else
	INSTALLROOT=$t3
fi
echo "INSTALLROOT will be  \"$INSTALLROOT\""	
export INSTALLROOT

: ${BINDIR="bin"}
read -p "Binaries directory [default:\"$BINDIR\"]:" -e t4
if [ -z "$t4" ]
then
	BINDIR=$INSTALLROOT/$BINDIR
else
	BINDIR=$INSTALLROOT/$t4
fi
echo "BINDIR will be  \"$BINDIR\""	
export BINDIR

: ${LIBDIR="bin"}
read -p "Libraries directory [default:\"$LIBDIR\"]:" -e t5
if [ -z "$t5" ]
then
	LIBDIR=$INSTALLROOT/$LIBDIR
else
	LIBDIR=$INSTALLROOT/$t5
fi	
echo "LIBDIR will be  \"$LIBDIR\""	
export LIBDIR

:  ${INCDIR="include"}
read -p "Includes directory [default:\"$INCDIR\"]:" -e t6
if [ -z "$t6" ]
then
	INCDIR=$INSTALLROOT/$INCDIR
else
	INCDIR=$INSTALLROOT/$t6
fi	
echo "INCDIR will be  \"$INCDIR\""	
export INCDIR

:  ${DOCDIR="doc"}
read -p "Documentation directory [default:\"$DOCDIR\"]:" -e t7
if [ -z "$t7" ]
then
	DOCDIR=$INSTALLROOT/$DOCDIR
else	
	DOCDIR=$INSTALLROOT/$t7
fi
echo "DOCDIR will be  \"$DOCDIR\""
export DOCDIR


