Switch to unified view

a/src/recollinstall.in b/src/recollinstall.in
...
...
38
   PREFIX=$DESTDIR/$PREFIX
38
   PREFIX=$DESTDIR/$PREFIX
39
   bindir=$DESTDIR/$bindir
39
   bindir=$DESTDIR/$bindir
40
   datadir=$DESTDIR/$datadir
40
   datadir=$DESTDIR/$datadir
41
   mandir=$DESTDIR/$mandir
41
   mandir=$DESTDIR/$mandir
42
   ROOTFORPYTHON="--root=${DESTDIR}"
42
   ROOTFORPYTHON="--root=${DESTDIR}"
43
fi
44
if test -f /etc/debian_version ; then
45
   OPTSFORPYTHON=--install-layout=deb
43
fi
46
fi
44
47
45
echo "Installing to $PREFIX"
48
echo "Installing to $PREFIX"
46
49
47
# Note: solaris 'install' does not understand -v
50
# Note: solaris 'install' does not understand -v
...
...
138
${INSTALL} -m 0444 ${I18N}/recoll_zh_CN.qm \
141
${INSTALL} -m 0444 ${I18N}/recoll_zh_CN.qm \
139
    ${datadir}/recoll/translations/recoll_zh.qm || exit 1
142
    ${datadir}/recoll/translations/recoll_zh.qm || exit 1
140
143
141
144
142
@NOPYTHON@(cd python/recoll;python setup.py install \
145
@NOPYTHON@(cd python/recoll;python setup.py install \
143
@NOPYTHON@ --prefix=${REALPREFIX} ${ROOTFORPYTHON})
146
@NOPYTHON@ --prefix=${REALPREFIX} ${ROOTFORPYTHON} ${OPTSFORPYTHON})