X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=0c58b82457db20174006f32765bf00a645eaec18;hp=102277778a9902e4f1b978fdc541b3c00b5b4be5;hb=e32c8a5e6bcc7bdbf5e1a5800ac42e25dc8ca70e;hpb=45fe3547458e0c403f7501bad89860afe2fa534a diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 10227777..0c58b824 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -20,7 +20,7 @@ emacs_images := \ 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) @@ -38,6 +38,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)