aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2016-11-21 23:13:37 +0200
committerDavid Bremner <david@tethera.net>2016-11-26 08:16:19 -0400
commit440d24e7cccd2699d9cfdcb57c90aaf759da7832 (patch)
tree0cbb3984d337c9452a075f9d9dcd11bc33d92e3a
parenta5df39c276be5c6f8e67685ff5ef960d30e36e07 (diff)
build: install notmuch-emacs-mua with notmuch-emacs
notmuch-emacs-mua is good enough to be installed with notmuch-emacs.
-rw-r--r--emacs/Makefile.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index f1636177..6408c02c 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -38,6 +38,8 @@ $(dir)/notmuch-pkg.el: $(srcdir)/$(dir)/notmuch-pkg.el.tmpl
all: $(dir)/notmuch-pkg.el
install-emacs: $(dir)/notmuch-pkg.el
+emacs_mua := $(dir)/notmuch-emacs-mua
+
emacs_images := \
$(srcdir)/$(dir)/notmuch-logo.png
@@ -101,5 +103,7 @@ ifeq ($(HAVE_EMACS),1)
endif
mkdir -p "$(DESTDIR)$(emacsetcdir)"
install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)"
+ mkdir -p "$(DESTDIR)$(prefix)/bin/"
+ install $(emacs_mua) "$(DESTDIR)$(prefix)/bin"
CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el