5 $(dir)/notmuch-lib.el \
9 emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
11 emacs: $(emacs_bytecode)
13 install-emacs: install emacs
14 $(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
15 $(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
17 @echo "The notmuch emacs client is now installed."
19 @echo "To run this, each user should add the following line to the ~/.emacs file:"
21 @echo " (require 'notmuch)"
23 @echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
26 CLEAN := $(CLEAN) $(emacs_bytecode)