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 arlo.cworth.org (Postfix) with ESMTP id 90F686DE02CC
\r
6 for <notmuch@notmuchmail.org>; Wed, 25 May 2016 14:04:57 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.258 tagged_above=-999 required=5 tests=[AWL=0.267,
\r
12 HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id s9c3REsJWOeP for <notmuch@notmuchmail.org>;
\r
17 Wed, 25 May 2016 14:04:50 -0700 (PDT)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id D3DE76DE01F7
\r
20 for <notmuch@notmuchmail.org>; Wed, 25 May 2016 14:04:40 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id 2623C1000DF; Thu, 26 May 2016 00:04:35 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Cc: tomi.ollila@iki.fi
\r
26 Subject: [PATCH 2/3] Makefile.local: make IS_GIT simply expanded
\r
27 Date: Thu, 26 May 2016 00:04:31 +0300
\r
28 Message-Id: <1464210272-26281-2-git-send-email-tomi.ollila@iki.fi>
\r
29 X-Mailer: git-send-email 2.8.2
\r
30 In-Reply-To: <1464210272-26281-1-git-send-email-tomi.ollila@iki.fi>
\r
31 References: <1464210272-26281-1-git-send-email-tomi.ollila@iki.fi>
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.20
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
38 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
40 List-Post: <mailto:notmuch@notmuchmail.org>
\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
42 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Wed, 25 May 2016 21:04:57 -0000
\r
46 By using ':=' while setting IS_GIT it is expanded to 'yes' or 'no' at
\r
47 that point (and not every time when $(IS_GIT) is referenced).
\r
49 Makefile.local | 2 +-
\r
50 1 file changed, 1 insertion(+), 1 deletion(-)
\r
52 diff --git a/Makefile.local b/Makefile.local
\r
53 index a1e9578441a4..ee3cf18f5757 100644
\r
54 --- a/Makefile.local
\r
55 +++ b/Makefile.local
\r
57 # repository), we let git append identification of the actual commit.
\r
60 -IS_GIT=$(shell if [ -d ${srcdir}/.git -o -f ${srcdir}/.git ] ; then echo yes ; else echo no; fi)
\r
61 +IS_GIT:=$(shell if [ -d ${srcdir}/.git -o -f ${srcdir}/.git ] ; then echo yes ; else echo no; fi)
\r
63 ifeq ($(IS_GIT),yes)
\r
64 DATE:=$(shell git --git-dir=${srcdir}/.git log --date=short -1 --pretty=format:%cd)
\r