X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2FMakefile.local;h=102277778a9902e4f1b978fdc541b3c00b5b4be5;hb=68a2c7a8b0f749cb33a8ce7cfa2aa7781d2529bb;hp=9ea8e491a6d6308f430f9d2d1b0b6554e27af803;hpb=26b4cc4aad93e25dab1e1f38f19f1ae69cde389c;p=notmuch diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 9ea8e491..10227777 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -12,12 +12,13 @@ emacs_sources := \ $(dir)/notmuch-address.el \ $(dir)/notmuch-maildir-fcc.el \ $(dir)/notmuch-message.el \ + $(dir)/notmuch-crypto.el \ $(dir)/coolj.el emacs_images := \ - $(dir)/notmuch-logo.png + $(srcdir)/$(dir)/notmuch-logo.png -emacs_bytecode := $(subst .el,.elc,$(emacs_sources)) +emacs_bytecode = $(emacs_sources:.el=.elc) %.elc: %.el $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $< @@ -32,11 +33,11 @@ endif .PHONY: install-emacs install-emacs: - mkdir -p $(DESTDIR)$(emacslispdir) - install -m0644 $(emacs_sources) $(DESTDIR)$(emacslispdir) + mkdir -p "$(DESTDIR)$(emacslispdir)" + install -m0644 $(emacs_sources) "$(DESTDIR)$(emacslispdir)" ifeq ($(HAVE_EMACS),1) - install -m0644 $(emacs_bytecode) $(DESTDIR)$(emacslispdir) + install -m0644 $(emacs_bytecode) "$(DESTDIR)$(emacslispdir)" endif - install -m0644 $(emacs_images) $(DESTDIR)$(emacslispdir) + install -m0644 $(emacs_images) "$(DESTDIR)$(emacslispdir)" CLEAN := $(CLEAN) $(emacs_bytecode)