|
a/src/recollinstall.in |
|
b/src/recollinstall.in |
|
... |
|
... |
43 |
|
43 |
|
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`
|
|
|
49 |
if test "$sys" = Darwin ; then
|
|
|
50 |
RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
|
|
|
51 |
else
|
|
|
52 |
RECOLLPROG=${QTGUI}/recoll
|
|
|
53 |
fi
|
|
|
54 |
|
48 |
test -x ${QTGUI}/recoll || fatal "${QTGUI}/recoll does not exist." \
|
55 |
test -x ${RECOLLPROG} || fatal "${QTGUI}/recoll does not exist." \
|
49 |
" You need to build first (type 'make')."
|
56 |
" You need to build first (type 'make')."
|
50 |
|
57 |
|
51 |
for d in \
|
58 |
for d in \
|
52 |
${bindir} \
|
59 |
${bindir} \
|
53 |
${mandir}/man1 \
|
60 |
${mandir}/man1 \
|
|
... |
|
... |
76 |
${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
|
83 |
${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
|
77 |
${datadir}/recoll/doc
|
84 |
${datadir}/recoll/doc
|
78 |
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
|
85 |
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
|
79 |
${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
|
86 |
${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
|
80 |
|
87 |
|
81 |
${INSTALL} -m 0755 ${QTGUI}/recoll index/recollindex ${bindir} || exit 1
|
88 |
${INSTALL} -m 0755 ${RECOLLPROG} index/recollindex ${bindir} || exit 1
|
82 |
${STRIP} ${bindir}/recoll ${bindir}/recollindex
|
89 |
${STRIP} ${bindir}/recoll ${bindir}/recollindex
|
83 |
|
90 |
|
84 |
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
|
91 |
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
|
85 |
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
|
92 |
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
|
86 |
${datadir}/recoll/filters/ || exit 1
|
93 |
${datadir}/recoll/filters/ || exit 1
|