]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/Makefile.local
Makefile: Make emacs compilation depend on global dependencies.
[notmuch] / emacs / Makefile.local
index 1c4166feca88d86164bc088d790685522f7f1062..ce0c3f007127e634404c0c540e88eee12cb8c1cb 100644 (file)
@@ -12,14 +12,15 @@ 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
+%.elc: %.el $(global_deps)
        $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
 
 ifeq ($(WITH_EMACS),1)