From: Tomi Ollila Date: Fri, 25 Sep 2015 21:45:39 +0000 (+0300) Subject: emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc X-Git-Tag: 0.22_rc0~99 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=a79936cd6fe0b25da87ef28355b58b774bbd6369;hp=d98c0854b8ed93d0f84962a6d1d5d6c1ebf95a14 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. --- 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