X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2FMakefile.local;h=6e7d2afd1391400f5f62bb1d2d9fe99b07b2565b;hb=e7131a5983c4caff45c97e69b979002f0c1ff381;hp=b895d11a9d6978ae8ba75485f9e25efbeaddd6ff;hpb=ce6cfd6408e805aa8eee45131c4d6e6e4e62928a;p=notmuch diff --git a/emacs/Makefile.local b/emacs/Makefile.local index b895d11a..6e7d2afd 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; + install -d $(DESTDIR)/$(emacs_lispdir) + install -m0644 $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir) @echo "" @echo "The notmuch emacs client is now installed." @echo ""