[PATCH] emacs: add $(srcdir) to notmuch-version.el.tmpl dependency
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 12 Apr 2014 11:59:46 +0000 (14:59 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:01:31 +0000 (10:01 -0800)
96/7ab405088004f05e74de2d63a03ea3dfda8b50 [new file with mode: 0644]

diff --git a/96/7ab405088004f05e74de2d63a03ea3dfda8b50 b/96/7ab405088004f05e74de2d63a03ea3dfda8b50
new file mode 100644 (file)
index 0000000..62425a0
--- /dev/null
@@ -0,0 +1,63 @@
+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 olra.theworths.org (Postfix) with ESMTP id 142C3431FBD\r
+       for <notmuch@notmuchmail.org>; Sat, 12 Apr 2014 05:00:01 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id q1IwdyVCXe4M for <notmuch@notmuchmail.org>;\r
+       Sat, 12 Apr 2014 04:59:57 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7C61C431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 12 Apr 2014 04:59:57 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id 6B7561000E1; Sat, 12 Apr 2014 14:59:48 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: add $(srcdir) to notmuch-version.el.tmpl dependency\r
+Date: Sat, 12 Apr 2014 14:59:46 +0300\r
+Message-Id: <1397303986-17381-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.8.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Sat, 12 Apr 2014 12:00:01 -0000\r
+\r
+This fixes out-of-tree build when generating emacs/notmuch-version.el.\r
+---\r
+ emacs/Makefile.local | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/emacs/Makefile.local b/emacs/Makefile.local\r
+index ca039e5..dcb4995 100644\r
+--- a/emacs/Makefile.local\r
++++ b/emacs/Makefile.local\r
+@@ -21,7 +21,7 @@ emacs_sources := \\r
+       $(dir)/notmuch-version.el\r
\r
+ $(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp\r
+-$(dir)/notmuch-version.el: $(dir)/notmuch-version.el.tmpl\r
++$(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl\r
+       @sed -e 's/%AG%/Generated file (from $(<F)) -- do not edit!/' \\r
+            -e 's/%VERSION%/"$(VERSION)"/' $< > $@\r
\r
+-- \r
+1.8.0\r
+\r