--- a/src/recollinstall.in
+++ b/src/recollinstall.in
@@ -86,7 +86,8 @@
@NOQTMAKE@test -d ${datadir}/applications \
@NOQTMAKE@ || mkdir -p ${datadir}/applications || exit 1
-
+@NOQTMAKE@test -d ${datadir}/appdata \
+@NOQTMAKE@ || mkdir -p ${datadir}/appdata || exit 1
# Use the xdg utilies to install the desktop file and icon? Couldn't find
# out how to get this to work sanely. So keep the old way
@@ -94,6 +95,7 @@
#export PATH
#xdg-desktop-menu install desktop/recoll-searchgui.desktop
#xdg-icon-resource install --size 48 desktop/recoll.png
+@NOQTMAKE@${INSTALL} -m 0444 desktop/recoll.appdata.xml ${datadir}/appdata
@NOQTMAKE@${INSTALL} -m 0444 desktop/recoll-searchgui.desktop ${datadir}/applications
@NOQTMAKE@${INSTALL} -m 0444 desktop/recoll.png ${datadir}/icons/hicolor/48x48/apps
@NOQTMAKE@${INSTALL} -m 0444 desktop/recoll.png ${datadir}/pixmaps/