[PATCH] emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 25 Sep 2015 21:45:39 +0000 (00:45 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:38 +0000 (14:49 -0700)
d4/601a9756d208b225603cace9ab0926b0c6993e [new file with mode: 0644]

diff --git a/d4/601a9756d208b225603cace9ab0926b0c6993e b/d4/601a9756d208b225603cace9ab0926b0c6993e
new file mode 100644 (file)
index 0000000..3112cf4
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C8FC06DE0924\r
+ for <notmuch@notmuchmail.org>; Fri, 25 Sep 2015 14:45:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.186\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.186 tagged_above=-999 required=5 tests=[AWL=0.726, \r
+ RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id QKihG26sjtFU for <notmuch@notmuchmail.org>;\r
+ Fri, 25 Sep 2015 14:45:38 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 7CD016DE02D2\r
+ for <notmuch@notmuchmail.org>; Fri, 25 Sep 2015 14:45:37 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+ id 3075F1000E5; Sat, 26 Sep 2015 00:45:41 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs/Makefile.local: notmuch-lib.elc depend on\r
+ notmuch-version.elc\r
+Date: Sat, 26 Sep 2015 00:45:39 +0300\r
+Message-Id: <1443217539-21951-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 2.0.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 25 Sep 2015 21:45:40 -0000\r
+\r
+emacs/make-depend.el will compute all other related dependencies\r
+except this one:\r
+\r
+notmuch-version is not top-level `require' expression in\r
+notmuc-lib.el[c] but conditional based on the existence of\r
+notmuch-version.el[c].\r
+\r
+emacs/make-depend.el does not know now notmuch-version.el[c] becomes\r
+into existence but emacs/Makefile.local does know.\r
+---\r
+ emacs/Makefile.local | 4 ++++\r
+ 1 file changed, 4 insertions(+)\r
+\r
+diff --git a/emacs/Makefile.local b/emacs/Makefile.local\r
+index 1109cfa6b090..19e184edcbc7 100644\r
+--- a/emacs/Makefile.local\r
++++ b/emacs/Makefile.local\r
+@@ -52,6 +52,10 @@ $(dir)/.eldeps: $(dir)/Makefile.local $(dir)/make-deps.el $(emacs_sources)\r
+ $(dir)/.eldeps.x: $(dir)/.eldeps\r
+       @cmp -s $^ $@ || cp $^ $@\r
+ -include $(dir)/.eldeps.x\r
++\r
++# Add the one dependency make-deps.el does not have visibility to.\r
++$(dir)/notmuch-lib.elc: $(dir)/notmuch-version.elc\r
++\r
+ endif\r
+ CLEAN+=$(dir)/.eldeps $(dir)/.eldeps.tmp $(dir)/.eldeps.x\r
\r
+-- \r
+2.0.0\r
+\r