From a79936cd6fe0b25da87ef28355b58b774bbd6369 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sat, 26 Sep 2015 00:45:39 +0300 Subject: [PATCH] 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. --- emacs/Makefile.local | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2