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