2 emacs_sources := $(dir)/notmuch.el
4 emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
6 emacs: $(emacs_bytecode)
8 install-emacs: install emacs
9 $(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
10 $(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
12 @echo "The notmuch emacs client is now installed."
14 @echo "To run this, each user should add the following line to the ~/.emacs file:"
16 @echo " (require 'notmuch)"
18 @echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
21 CLEAN := $(CLEAN) $(emacs_bytecode)