mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
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.
This commit is contained in:
parent
87e9effc84
commit
954fc91d1f
1 changed files with 3 additions and 3 deletions
6
Makefile
6
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."
|
||||
|
||||
|
|
Loading…
Reference in a new issue