[PATCH 4/8] build: install notmuch-emacs-mua with notmuch-emacs
Jani Nikula
jani at nikula.org
Thu Nov 3 13:37:57 PDT 2016
notmuch-emacs-mua is good enough to be installed with notmuch-emacs.
---
emacs/Makefile.local | 3 +++
1 file changed, 3 insertions(+)
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 2d6aedbdfd5d..56b9714d91d7 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -27,6 +27,7 @@ $(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl
@sed -e 's/%AG%/Generated file (from $(<F)) -- do not edit!/' \
-e 's/%VERSION%/"$(VERSION)"/' $< > $@
+emacs_mua := $(dir)/notmuch-emacs-mua
emacs_images := \
$(srcdir)/$(dir)/notmuch-logo.png
@@ -83,5 +84,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
--
2.1.4
More information about the notmuch
mailing list