[PATCH] emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc

Tomi Ollila tomi.ollila at iki.fi
Fri Sep 25 14:45:39 PDT 2015


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.
---
 emacs/Makefile.local | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 1109cfa6b090..19e184edcbc7 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -52,6 +52,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
 
-- 
2.0.0



More information about the notmuch mailing list