handle --without-gui config inside recollinstall.in
This commit is contained in:
parent
f8a1c2cc55
commit
df98b0d72e
@ -46,13 +46,14 @@ INSTALL=${INSTALL:="install -c"}
|
|||||||
STRIP=${STRIP:=strip}
|
STRIP=${STRIP:=strip}
|
||||||
|
|
||||||
sys=`uname`
|
sys=`uname`
|
||||||
if test "$sys" = Darwin ; then
|
@NOQTMAKE@if test "$sys" = Darwin ; then
|
||||||
RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
|
@NOQTMAKE@ RECOLLPROG=${QTGUI}/recoll.app/Contents/MacOS/recoll
|
||||||
else
|
@NOQTMAKE@else
|
||||||
RECOLLPROG=${QTGUI}/recoll
|
@NOQTMAKE@ RECOLLPROG=${QTGUI}/recoll
|
||||||
fi
|
@NOQTMAKE@fi
|
||||||
|
|
||||||
test -x ${RECOLLPROG} || fatal "${QTGUI}/recoll does not exist." \
|
TESTPROG=index/recollindex
|
||||||
|
test -x $TESTPROG || fatal "$TESTPROG does not exist." \
|
||||||
" You need to build first (type 'make')."
|
" You need to build first (type 'make')."
|
||||||
|
|
||||||
for d in \
|
for d in \
|
||||||
@ -85,8 +86,10 @@ ${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
|
|||||||
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
|
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
|
||||||
${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
|
${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
|
||||||
|
|
||||||
${INSTALL} -m 0755 ${RECOLLPROG} index/recollindex ${bindir} || exit 1
|
@NOQTMAKE@${INSTALL} -m 0755 ${RECOLLPROG} ${bindir} || exit 1
|
||||||
${STRIP} ${bindir}/recoll ${bindir}/recollindex
|
@NOQTMAKE@${STRIP} ${bindir}/recoll
|
||||||
|
${INSTALL} -m 0755 index/recollindex ${bindir} || exit 1
|
||||||
|
${STRIP} ${bindir}/recollindex
|
||||||
|
|
||||||
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
|
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
|
||||||
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
|
${INSTALL} -m 0755 desktop/xdg-utils-1.0.1/scripts/xdg-open \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user