aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2015-09-26 00:45:39 +0300
committerDavid Bremner <david@tethera.net>2015-11-23 08:14:46 -0400
commita79936cd6fe0b25da87ef28355b58b774bbd6369 (patch)
tree6422ec5886ea9d855ba91464b032003634e9895e
parentd98c0854b8ed93d0f84962a6d1d5d6c1ebf95a14 (diff)
emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc
emacs/make-depend.el will compute all other related dependencies except this one: notmuch-version is not top-level `require' expression in notmuc-lib.el[c] but conditional based on the existence of notmuch-version.el[c]. emacs/make-depend.el does not know now notmuch-version.el[c] becomes into existence but emacs/Makefile.local does know.
-rw-r--r--emacs/Makefile.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 4c06c52f..2d6aedbd 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -53,6 +53,10 @@ $(dir)/.eldeps: $(dir)/Makefile.local $(dir)/make-deps.el $(emacs_sources)
$(dir)/.eldeps.x: $(dir)/.eldeps
@cmp -s $^ $@ || cp $^ $@
-include $(dir)/.eldeps.x
+
+# Add the one dependency make-deps.el does not have visibility to.
+$(dir)/notmuch-lib.elc: $(dir)/notmuch-version.elc
+
endif
CLEAN+=$(dir)/.eldeps $(dir)/.eldeps.tmp $(dir)/.eldeps.x