Switch to unified view

a/src/recollinstall.in b/src/recollinstall.in
...
...
44
# Note: solaris 'install' does not understand -v
44
# Note: solaris 'install' does not understand -v
45
INSTALL=${INSTALL:="install -c"}
45
INSTALL=${INSTALL:="install -c"}
46
STRIP=${STRIP:=strip}
46
STRIP=${STRIP:=strip}
47
47
48
sys=`uname`
48
sys=`uname`
49
if test "$sys" = Darwin ; then
49
@NOQTMAKE@if test "$sys" = Darwin ; then
50
    RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
50
@NOQTMAKE@    RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
51
else
51
@NOQTMAKE@else
52
    RECOLLPROG=${QTGUI}/recoll
52
@NOQTMAKE@    RECOLLPROG=${QTGUI}/recoll
53
fi
53
@NOQTMAKE@fi
54
54
55
TESTPROG=index/recollindex
55
test -x ${RECOLLPROG} || fatal "${QTGUI}/recoll does not exist." \
56
test -x $TESTPROG || fatal "$TESTPROG does not exist." \
56
     " You need to build first (type 'make')."
57
     " You need to build first (type 'make')."
57
58
58
for d in \
59
for d in \
59
    ${bindir} \
60
    ${bindir} \
60
    ${mandir}/man1 \
61
    ${mandir}/man1 \
...
...
83
${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
84
${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
84
            ${datadir}/recoll/doc 
85
            ${datadir}/recoll/doc 
85
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
86
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
86
${INSTALL} -m 0444 doc/man/recoll.conf.5  ${mandir}/man5/
87
${INSTALL} -m 0444 doc/man/recoll.conf.5  ${mandir}/man5/
87
88
89
@NOQTMAKE@${INSTALL} -m 0755 ${RECOLLPROG} ${bindir} || exit 1
90
@NOQTMAKE@${STRIP} ${bindir}/recoll 
88
${INSTALL} -m 0755 ${RECOLLPROG} index/recollindex ${bindir} || exit 1
91
${INSTALL} -m 0755 index/recollindex ${bindir} || exit 1
89
${STRIP} ${bindir}/recoll ${bindir}/recollindex
92
${STRIP} ${bindir}/recollindex
90
93
91
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
94
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
92
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
95
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
93
       ${datadir}/recoll/filters/ || exit 1
96
       ${datadir}/recoll/filters/ || exit 1
94
97