Switch to unified view

a/src/recollinstall.in b/src/recollinstall.in
...
...
30
   else
30
   else
31
      mandir=${datadir}/man
31
      mandir=${datadir}/man
32
   fi
32
   fi
33
fi
33
fi
34
34
35
REALPREFIX=$PREFIX
36
ROOTFORPYTHON=""
35
if test -n "$DESTDIR" ; then
37
if test -n "$DESTDIR" ; then
36
   PREFIX=$DESTDIR/$PREFIX
38
   PREFIX=$DESTDIR/$PREFIX
37
   bindir=$DESTDIR/$bindir
39
   bindir=$DESTDIR/$bindir
38
   datadir=$DESTDIR/$datadir
40
   datadir=$DESTDIR/$datadir
39
   mandir=$DESTDIR/$mandir
41
   mandir=$DESTDIR/$mandir
42
   ROOTFORPYTHON="--root=${DESTDIR}"
40
fi
43
fi
41
44
42
echo "Installing to $PREFIX"
45
echo "Installing to $PREFIX"
43
46
44
# Note: solaris 'install' does not understand -v
47
# Note: solaris 'install' does not understand -v
...
...
128
131
129
132
130
${INSTALL} -m 0444 qtgui/mtpics/*.png ${datadir}/recoll/images || exit 1
133
${INSTALL} -m 0444 qtgui/mtpics/*.png ${datadir}/recoll/images || exit 1
131
134
132
${INSTALL} -m 0444 ${I18N}/recoll*.qm ${datadir}/recoll/translations || exit 1
135
${INSTALL} -m 0444 ${I18N}/recoll*.qm ${datadir}/recoll/translations || exit 1
136
# Install the simplified chinese file as just chinese until I can understand
137
# if it's possible to have both. zh_CN doesn't seem to work
138
${INSTALL} -m 0444 ${I18N}/recoll_zh_CN.qm \
139
    ${datadir}/recoll/translations/recoll_zh.qm || exit 1
140
141
142
@NOPYTHON@(cd python/recoll;python setup.py install \
143
    --prefix=${REALPREFIX} ${ROOTFORPYTHON})