X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=51d045c3e108a0478fc9ca908b9eb96633a41227;hp=ee402e00c274aaf19e6ea1feb077543c9c4fee13;hb=f89b3d16db90be99c3097c8dac0d95930cdd1f1d;hpb=d3884a5984c26159169d58b9cc8fb2a137fb48a2 diff --git a/emacs/Makefile.local b/emacs/Makefile.local index ee402e00..51d045c3 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -1,15 +1,21 @@ # -*- makefile -*- dir := emacs -emacs_sources := $(dir)/notmuch.el +emacs_sources := \ + $(dir)/notmuch-lib.el \ + $(dir)/notmuch.el \ + $(dir)/notmuch-query.el \ + $(dir)/notmuch-show.el emacs_bytecode := $(subst .el,.elc,$(emacs_sources)) +.PHONY: emacs emacs: $(emacs_bytecode) +.PHONY: install-emacs install-emacs: install emacs - $(call quiet_mkdir, $(DESTDIR)/$(emacs_lispdir)) - $(call quiet_install_data, $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir)) + mkdir -p $(DESTDIR)/$(emacs_lispdir) + install -m0644 $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir) @echo "" @echo "The notmuch emacs client is now installed." @echo ""