From 954fc91d1f86efe1e90e374ed53f88fc42e4d009 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sat, 24 Feb 2018 11:16:37 +0300 Subject: [PATCH] Makefile: make xdg-mime calls non-fatal xdg-mime may not be available in the build root being used. Allow application installation to proceed anyway. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a803e6d83..a7ee26c83 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,9 @@ install: install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/applications anki.desktop install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/man/man1 anki.1 install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/doc/anki README.contributing README.development README.md LICENSE - xdg-mime install anki.xml --novendor - xdg-mime default anki.desktop application/x-anki - xdg-mime default anki.desktop application/x-apkg + -xdg-mime install anki.xml --novendor + -xdg-mime default anki.desktop application/x-anki + -xdg-mime default anki.desktop application/x-apkg @echo @echo "Install complete."