[PATCH] build: install notmuch-emacs-mua if configured with emacs

Jani Nikula jani at nikula.org
Wed Nov 2 12:09:27 PDT 2016


notmuch-emacs-mua is good enough to be installed with notmuch-emacs.
---
 Makefile.local | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.local b/Makefile.local
index d1b0585f2866..c60f4e7d4792 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -311,6 +311,9 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
 install: all install-man
 	mkdir -p "$(DESTDIR)$(prefix)/bin/"
 	install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch"
+ifeq ($(WITH_EMACS), 1)
+	install notmuch-emacs-mua "$(DESTDIR)$(prefix)/bin"
+endif
 ifeq ($(MAKECMDGOALS), install)
 	@echo ""
 	@echo "Notmuch is now installed to $(DESTDIR)$(prefix)"
-- 
2.1.4



More information about the notmuch mailing list