X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=bda3997adadd0c2125928bb2cc53e6026e8c95c6;hp=b895d11a9d6978ae8ba75485f9e25efbeaddd6ff;hb=33d5cc415ec31d14f126dbb19f8538b04d2c1b49;hpb=ce6cfd6408e805aa8eee45131c4d6e6e4e62928a diff --git a/emacs/Makefile.local b/emacs/Makefile.local index b895d11a..bda3997a 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -1,20 +1,13 @@ -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) 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 ""