[PATCH 1/2] build: only install the notmuch desktop file with emacs
Jani Nikula
jani at nikula.org
Wed Nov 2 14:10:31 PDT 2016
The notmuch desktop file execs the emacs interface; no use installing
it if notmuch-emacs has not been installed.
---
Makefile.local | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile.local b/Makefile.local
index c60f4e7d4792..7cf694b068a0 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -338,8 +338,10 @@ endif
.PHONY: install-desktop
install-desktop:
+ifeq ($(WITH_EMACS), 1)
mkdir -p "$(DESTDIR)$(desktop_dir)"
desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" notmuch.desktop
+endif
SRCS := $(SRCS) $(notmuch_client_srcs)
CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules)
--
2.1.4
More information about the notmuch
mailing list