Switch to side-by-side view

--- a/src/recollinstall.in
+++ b/src/recollinstall.in
@@ -45,7 +45,14 @@
 INSTALL=${INSTALL:="install -c"}
 STRIP=${STRIP:=strip}
 
-test -x ${QTGUI}/recoll || fatal "${QTGUI}/recoll does not exist." \
+sys=`uname`
+if test "$sys" = Darwin ; then
+    RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
+else
+    RECOLLPROG=${QTGUI}/recoll
+fi
+
+test -x ${RECOLLPROG} || fatal "${QTGUI}/recoll does not exist." \
      " You need to build first (type 'make')."
 
 for d in \
@@ -78,7 +85,7 @@
 ${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
 ${INSTALL} -m 0444 doc/man/recoll.conf.5  ${mandir}/man5/
 
-${INSTALL} -m 0755 ${QTGUI}/recoll index/recollindex ${bindir} || exit 1
+${INSTALL} -m 0755 ${RECOLLPROG} index/recollindex ${bindir} || exit 1
 ${STRIP} ${bindir}/recoll ${bindir}/recollindex
 
 ${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1