]> git.notmuchmail.org Git - notmuch/blob - emacs/Makefile.local
notmuch-query.el: new file to support access to the notmuch database.
[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-query.el \
8         $(dir)/notmuch-show.el
9
10 emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
11
12 emacs: $(emacs_bytecode)
13
14 install-emacs: install emacs
15         $(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
16         $(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
17         @echo ""
18         @echo "The notmuch emacs client is now installed."
19         @echo ""
20         @echo "To run this, each user should add the following line to the ~/.emacs file:"
21         @echo ""
22         @echo " (require 'notmuch)"
23         @echo ""
24         @echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
25         @echo ""
26
27 CLEAN := $(CLEAN) $(emacs_bytecode)