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