]> git.notmuchmail.org Git - notmuch/blob - emacs/Makefile.local
bda3997adadd0c2125928bb2cc53e6026e8c95c6
[notmuch] / emacs / Makefile.local
1 dir := emacs
2 emacs_sources := $(dir)/notmuch.el
3
4 emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
5
6 emacs: $(emacs_bytecode)
7
8 install-emacs: install emacs
9         $(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
10         $(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
11         @echo ""
12         @echo "The notmuch emacs client is now installed."
13         @echo ""
14         @echo "To run this, each user should add the following line to the ~/.emacs file:"
15         @echo ""
16         @echo " (require 'notmuch)"
17         @echo ""
18         @echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
19         @echo ""
20
21 CLEAN := $(CLEAN) $(emacs_bytecode)