]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/Makefile.local
configure: Fix installation of library to work with alternate --prefix
[notmuch] / emacs / Makefile.local
index c6ca142d7f347bb1c9905f1619b2e0d98d2e002e..17ede8635e053326e51c83dd3ac83ab6433c73a1 100644 (file)
@@ -1,8 +1,7 @@
-dir=emacs
-emacs_sources=                 \
-       $(dir)/notmuch.el
+dir := emacs
+emacs_sources := $(dir)/notmuch.el
 
-emacs_bytecode=$(subst .el,.elc,$(emacs_sources))
+emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
 
 emacs: $(emacs_bytecode)
 
@@ -15,5 +14,14 @@ install-emacs: install emacs
        do \
                install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\
        done;
+       @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)