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