aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2016-11-26 11:43:49 +0200
committerDavid Bremner <david@tethera.net>2016-11-28 22:04:26 -0400
commit383796c325de2dbb32c5c02157777d2d06d39f0b (patch)
tree96f020ba7b67fa647e94d9ca593f806e6f669dce
parent459989b7efb109e31930da5db0112854fa6e03da (diff)
build: update the desktop database after installing the desktop file
This makes the option to choose Notmuch as mailto: handler show up in the desktop environment settings. Ignore errors.
-rw-r--r--emacs/Makefile.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 2cfa77ff..040e64d4 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -109,6 +109,7 @@ endif
ifeq ($(WITH_DESKTOP),1)
mkdir -p "$(DESTDIR)$(desktop_dir)"
desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop)
+ -update-desktop-database "$(DESTDIR)$(desktop_dir)"
endif
CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el