mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@29 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
59 lines
1.0 KiB
Plaintext
Executable File
59 lines
1.0 KiB
Plaintext
Executable File
##!/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
|
|
|
|
|