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