X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=fb82247f32e51a294e58d03f805fd235603221d8;hp=1c4166feca88d86164bc088d790685522f7f1062;hb=0f066ece0f6aa7c02116f8ba3f06b5a005091678;hpb=1a915d1b3852c5771507710ed470547b53b1c7ec diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 1c4166fe..fb82247f 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -12,14 +12,17 @@ emacs_sources := \ $(dir)/notmuch-address.el \ $(dir)/notmuch-maildir-fcc.el \ $(dir)/notmuch-message.el \ - $(dir)/coolj.el + $(dir)/notmuch-crypto.el \ + $(dir)/notmuch-tag.el \ + $(dir)/coolj.el \ + $(dir)/notmuch-print.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 +%.elc: %.el $(global_deps) $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $< ifeq ($(WITH_EMACS),1) @@ -37,6 +40,7 @@ install-emacs: ifeq ($(HAVE_EMACS),1) install -m0644 $(emacs_bytecode) "$(DESTDIR)$(emacslispdir)" endif - install -m0644 $(emacs_images) "$(DESTDIR)$(emacslispdir)" + mkdir -p "$(DESTDIR)$(emacsetcdir)" + install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)" CLEAN := $(CLEAN) $(emacs_bytecode)