]> git.notmuchmail.org Git - notmuch/blob - emacs/Makefile.local
6e7d2afd1391400f5f62bb1d2d9fe99b07b2565b
[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         install -d $(DESTDIR)/$(emacs_lispdir)
10         install -m0644 $(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)