2010-03-21 09:54:08 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
2010-03-10 10:59:57 -08:00
|
|
|
dir := emacs
|
|
|
|
emacs_sources := $(dir)/notmuch.el
|
2010-02-09 23:45:28 -04:00
|
|
|
|
2010-03-10 10:59:57 -08:00
|
|
|
emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
|
2010-02-09 23:45:28 -04:00
|
|
|
|
|
|
|
emacs: $(emacs_bytecode)
|
|
|
|
|
|
|
|
install-emacs: install emacs
|
2010-03-31 23:54:21 -07:00
|
|
|
$(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir))
|
|
|
|
$(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir))
|
2010-03-10 10:50:20 -08:00
|
|
|
@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 ""
|
2010-02-09 23:45:28 -04:00
|
|
|
|
|
|
|
CLEAN := $(CLEAN) $(emacs_bytecode)
|