notmuch/emacs/Makefile.local
David Edmondson d3884a5984 Makefile.local: Automatically use makefile mode
We add a magic line to the beginning of each Makefile.local file to
help the editor know that it should use makefile mode for editing the
file, (even though the filename isn't exactly "Makefile").

Edited-by: Carl Worth <cworth@cworth.org>: Expand treatment from
emacs/Makefile.local to each instance of Makefile.local.
2010-04-03 12:31:49 -07:00

23 lines
662 B
Makefile

# -*- makefile -*-
dir := emacs
emacs_sources := $(dir)/notmuch.el
emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
emacs: $(emacs_bytecode)
install-emacs: install emacs
$(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
$(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
@echo ""
@echo "The notmuch emacs client is now installed."
@echo ""
@echo "To run this, each user should add the following line to the ~/.emacs file:"
@echo ""
@echo " (require 'notmuch)"
@echo ""
@echo "And should then run \"M-x notmuch\" from within emacs or run \"emacs -f notmuch\""
@echo ""
CLEAN := $(CLEAN) $(emacs_bytecode)