From: Tomi Ollila Date: Fri, 25 Sep 2015 21:45:39 +0000 (+0300) Subject: [PATCH] emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53790db9732fe3c3eb7e9c8509c165e58dd8415d;p=notmuch-archives.git [PATCH] emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc --- diff --git a/d4/601a9756d208b225603cace9ab0926b0c6993e b/d4/601a9756d208b225603cace9ab0926b0c6993e new file mode 100644 index 000000000..3112cf4a4 --- /dev/null +++ b/d4/601a9756d208b225603cace9ab0926b0c6993e @@ -0,0 +1,75 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id C8FC06DE0924 + for ; Fri, 25 Sep 2015 14:45:40 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.186 +X-Spam-Level: +X-Spam-Status: No, score=0.186 tagged_above=-999 required=5 tests=[AWL=0.726, + RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id QKihG26sjtFU for ; + Fri, 25 Sep 2015 14:45:38 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 7CD016DE02D2 + for ; Fri, 25 Sep 2015 14:45:37 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 3075F1000E5; Sat, 26 Sep 2015 00:45:41 +0300 (EEST) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs/Makefile.local: notmuch-lib.elc depend on + notmuch-version.elc +Date: Sat, 26 Sep 2015 00:45:39 +0300 +Message-Id: <1443217539-21951-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 2.0.0 +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 25 Sep 2015 21:45:40 -0000 + +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 +