mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 20:38:08 +01:00
d3884a5984
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.
23 lines
662 B
Makefile
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)
|