This makes the option to choose Notmuch as mailto: handler show up in the desktop environment settings. Ignore errors.
--- v3: ignore errors on update-desktop-database. I don't want to skip desktop-file-install if update-desktop-database is not available, and if update fails, it's likely a transient error anyway. --- emacs/Makefile.local | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index ffa8421ebd45..5fff019da73d 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -99,6 +99,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 -- 2.1.4 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch