From: Jani Nikula Date: Sat, 26 Nov 2016 09:43:49 +0000 (+0200) Subject: build: update the desktop database after installing the desktop file X-Git-Tag: 0.24_rc0~64 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=383796c325de2dbb32c5c02157777d2d06d39f0b;ds=sidebyside 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. --- 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