Switch to unified view

a/src/recollinstall.in b/src/recollinstall.in
...
...
17
   PREFIX=$1
17
   PREFIX=$1
18
else
18
else
19
   usage
19
   usage
20
fi
20
fi
21
QTGUI=@QTGUI@
21
QTGUI=@QTGUI@
22
I18N=${QTGUI}/i18n
22
# The .qm files are in qtgui/i18n even if qt4 is used
23
I18N=qtgui/i18n
23
24
24
test -n "$bindir" || bindir=${PREFIX}/bin
25
test -n "$bindir" || bindir=${PREFIX}/bin
25
test -n "$datadir" || datadir=${PREFIX}/share
26
test -n "$datadir" || datadir=${PREFIX}/share
26
if test -z "$mandir" ; then 
27
if test -z "$mandir" ; then 
27
   if test -d ${PREFIX}/man ; then
28
   if test -d ${PREFIX}/man ; then
...
...
91
           sampleconf/mimemap \
92
           sampleconf/mimemap \
92
       ${datadir}/recoll/examples/ || exit 1
93
       ${datadir}/recoll/examples/ || exit 1
93
${INSTALL} -m 0755 index/rclmon.sh ${datadir}/recoll/examples/ || exit 1
94
${INSTALL} -m 0755 index/rclmon.sh ${datadir}/recoll/examples/ || exit 1
94
95
95
96
96
${INSTALL} -m 0444 ${QTGUI}/mtpics/*.png ${datadir}/recoll/images || exit 1
97
${INSTALL} -m 0444 qtgui/mtpics/*.png ${datadir}/recoll/images || exit 1
97
98
98
${INSTALL} -m 0444 ${I18N}/recoll*.qm ${datadir}/recoll/translations || exit 1
99
${INSTALL} -m 0444 ${I18N}/recoll*.qm ${datadir}/recoll/translations || exit 1