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