X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=ee402e00c274aaf19e6ea1feb077543c9c4fee13;hp=b895d11a9d6978ae8ba75485f9e25efbeaddd6ff;hb=d3884a5984c26159169d58b9cc8fb2a137fb48a2;hpb=ce6cfd6408e805aa8eee45131c4d6e6e4e62928a diff --git a/emacs/Makefile.local b/emacs/Makefile.local index b895d11a..ee402e00 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -1,20 +1,15 @@ -dir=emacs -emacs_sources= \ - $(dir)/notmuch.el +# -*- makefile -*- -emacs_bytecode=$(subst .el,.elc,$(emacs_sources)) +dir := emacs +emacs_sources := $(dir)/notmuch.el + +emacs_bytecode := $(subst .el,.elc,$(emacs_sources)) emacs: $(emacs_bytecode) install-emacs: install emacs - for d in $(DESTDIR)/$(emacs_lispdir) ; \ - do \ - install -d $$d ; \ - done ; - for f in $(emacs_sources) $(emacs_bytecode); \ - do \ - install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\ - done; + $(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 ""