Switch to side-by-side view
--- a/src/recollinstall.in +++ b/src/recollinstall.in @@ -40,6 +40,9 @@ datadir=$DESTDIR/$datadir mandir=$DESTDIR/$mandir ROOTFORPYTHON="--root=${DESTDIR}" +fi +if test -f /etc/debian_version ; then + OPTSFORPYTHON=--install-layout=deb fi echo "Installing to $PREFIX" @@ -140,4 +143,4 @@ @NOPYTHON@(cd python/recoll;python setup.py install \ -@NOPYTHON@ --prefix=${REALPREFIX} ${ROOTFORPYTHON}) +@NOPYTHON@ --prefix=${REALPREFIX} ${ROOTFORPYTHON} ${OPTSFORPYTHON})