Commit 5d35ecfa authored by hasufell's avatar hasufell

BUILD: update mime and desktop database

parent 21bf0ae9
......@@ -5,4 +5,15 @@ if WITH_TM
util_DATA += htm.desktop
mime_DATA = htm-mime.xml
mimedir = $(datadir)/mime/packages
UPDATE_MIME_DATABASE = update-mime-database "$(datadir)/mime" || :
UPDATE_DESKTOP_DATABASE = update-desktop-database -q "$(datadir)/applications" || :
install-data-hook:
$(UPDATE_MIME_DATABASE);
$(UPDATE_DESKTOP_DATABASE);
uninstall-hook:
$(UPDATE_MIME_DATABASE);
$(UPDATE_DESKTOP_DATABASE);
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment