1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 142C3431FBD
\r
6 for <notmuch@notmuchmail.org>; Sat, 12 Apr 2014 05:00:01 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id q1IwdyVCXe4M for <notmuch@notmuchmail.org>;
\r
16 Sat, 12 Apr 2014 04:59:57 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 7C61C431FBC
\r
19 for <notmuch@notmuchmail.org>; Sat, 12 Apr 2014 04:59:57 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 6B7561000E1; Sat, 12 Apr 2014 14:59:48 +0300 (EEST)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH] emacs: add $(srcdir) to notmuch-version.el.tmpl dependency
\r
25 Date: Sat, 12 Apr 2014 14:59:46 +0300
\r
26 Message-Id: <1397303986-17381-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.8.0
\r
28 Cc: tomi.ollila@iki.fi
\r
29 X-BeenThere: notmuch@notmuchmail.org
\r
30 X-Mailman-Version: 2.1.13
\r
32 List-Id: "Use and development of the notmuch mail system."
\r
33 <notmuch.notmuchmail.org>
\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
37 List-Post: <mailto:notmuch@notmuchmail.org>
\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
41 X-List-Received-Date: Sat, 12 Apr 2014 12:00:01 -0000
\r
43 This fixes out-of-tree build when generating emacs/notmuch-version.el.
\r
45 emacs/Makefile.local | 2 +-
\r
46 1 file changed, 1 insertion(+), 1 deletion(-)
\r
48 diff --git a/emacs/Makefile.local b/emacs/Makefile.local
\r
49 index ca039e5..dcb4995 100644
\r
50 --- a/emacs/Makefile.local
\r
51 +++ b/emacs/Makefile.local
\r
52 @@ -21,7 +21,7 @@ emacs_sources := \
\r
53 $(dir)/notmuch-version.el
\r
55 $(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp
\r
56 -$(dir)/notmuch-version.el: $(dir)/notmuch-version.el.tmpl
\r
57 +$(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl
\r
58 @sed -e 's/%AG%/Generated file (from $(<F)) -- do not edit!/' \
\r
59 -e 's/%VERSION%/"$(VERSION)"/' $< > $@
\r