summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Buren <ryuo@ryuo.xyz>2018-12-26 17:49:02 -0600
committerChristian Dywan <christian@twotoasts.de>2018-12-27 00:49:02 +0100
commit886029e6254495d2526845c8b6e0513d2690b073 (patch)
tree1533083cb653a69f0b054f934a83a7cc7b310d80
parentde3e22e3122fa8fb1e793f0d010cc73a448dcc88 (diff)
downloadmidori-git-886029e6254495d2526845c8b6e0513d2690b073.tar.gz
Move appdata file to new location (#217)
According to lintian on Debian, the old appdata location of /usr/share/appdata is deprecated and these files should instead be placed in the new location of /usr/share/metainfo. See here for more information: https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
-rw-r--r--cmake/FindIntltool.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindIntltool.cmake b/cmake/FindIntltool.cmake
index f096621f..4c091638 100644
--- a/cmake/FindIntltool.cmake
+++ b/cmake/FindIntltool.cmake
@@ -25,7 +25,7 @@ if (INTLTOOL_MERGE_EXECUTABLE)
DEPENDS ${desktop_id}.appdata.xml.in
)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${desktop_id}.appdata.xml"
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/metainfo")
endmacro (INTLTOOL_MERGE_APPDATA desktop_id po_dir)
else ()
message(FATAL_ERROR "intltool-merge not found")