1 Return-Path: <wking@tremily.us>
\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 1A91E431FBD
\r
6 for <notmuch@notmuchmail.org>; Sat, 8 Feb 2014 15:56:29 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id hwgEYZgMEu2T for <notmuch@notmuchmail.org>;
\r
17 Sat, 8 Feb 2014 15:56:25 -0800 (PST)
\r
18 Received: from qmta02.westchester.pa.mail.comcast.net
\r
19 (qmta02.westchester.pa.mail.comcast.net [76.96.62.24])
\r
20 by olra.theworths.org (Postfix) with ESMTP id 7D264431FBC
\r
21 for <notmuch@notmuchmail.org>; Sat, 8 Feb 2014 15:56:25 -0800 (PST)
\r
22 Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52])
\r
23 by qmta02.westchester.pa.mail.comcast.net with comcast
\r
24 id Pzbc1n00117dt5G51zwR2u; Sat, 08 Feb 2014 23:56:25 +0000
\r
25 Received: from odin.tremily.us ([24.18.63.50])
\r
26 by omta13.westchester.pa.mail.comcast.net with comcast
\r
27 id PzwP1n00L152l3L3ZzwQCM; Sat, 08 Feb 2014 23:56:24 +0000
\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)
\r
29 id 4B28F100D8AE; Sat, 8 Feb 2014 15:56:23 -0800 (PST)
\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;
\r
31 t=1391903783; bh=DH7kOkhbQA9jh8+h6UsaHZFkXBU93D60ai5FWjWPAvM=;
\r
32 h=Date:From:To:Cc:Subject:References:In-Reply-To;
\r
33 b=L8L0eY8IRMO3OHaByDBWgX9fuALdAeG9U44Hbu5JwGQuHmH37iMRVqeeJr7MfpjEf
\r
34 TCPNfnMh/9tUGLNc8yAJTg3rI43ynofA8s32A/TAcsYJuZXQ2+AXh2G+vINhRvDdPd
\r
35 dNLpILGBuh0Fjpb9jvYeXThD/26A6ePFrAeBn3EE=
\r
36 Date: Sat, 8 Feb 2014 15:56:23 -0800
\r
37 From: "W. Trevor King" <wking@tremily.us>
\r
38 To: Tomi Ollila <tomi.ollila@iki.fi>
\r
39 Subject: Re: [PATCH v4] build: write VERSION file containing $(VERSION) string
\r
40 Message-ID: <20140208235623.GF17142@odin.tremily.us>
\r
41 References: <m261p4mkal.fsf@guru.guru-group.fi>
\r
42 <1391641113-4669-1-git-send-email-tomi.ollila@iki.fi>
\r
44 Content-Type: multipart/signed; micalg=pgp-sha1;
\r
45 protocol="application/pgp-signature"; boundary="65ImJOski3p8EhYV"
\r
46 Content-Disposition: inline
\r
47 In-Reply-To: <1391641113-4669-1-git-send-email-tomi.ollila@iki.fi>
\r
48 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;
\r
49 url=http://tremily.us/pubkey.txt
\r
50 User-Agent: Mutt/1.5.22 (2013-10-16)
\r
51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
\r
52 s=q20121106; t=1391903785;
\r
53 bh=D4tJBUKr6nvGIZCaxRkhXJz+20/reTG1SEuWlI41SdE=;
\r
54 h=Received:Received:Received:Date:From:To:Subject:Message-ID:
\r
55 MIME-Version:Content-Type;
\r
56 b=d8SyPMtHeMa49fahROhmMrvNEgRvqt+nI8JHdmXFRsGD4GmrAhWsEsKQrETmuoOpd
\r
57 L59a4L1IUWFJYDOQEjhnqjEpOJ+scSGb124n7BL9CLRr9apyN2O/6l6bCyODdH0Lli
\r
58 VwrPZb7pKwRQnjU+e6xZlfkwX1mStZ1wMWaEOWtGbfR+a/6VMIa54AtDxMdd07UQ+m
\r
59 WrOB++Nwbw3LWPw9cOEgWtIYHxY28mPuq9iXMY8BK5lyChI74ussFV+/e7nCG5J6nA
\r
60 KYHzmpfE70YqA7ilccAEg7Oo5UmYnWrIle5WjZ84/NdB0RpjFgsXVm336l6fWoydXg
\r
62 Cc: notmuch@notmuchmail.org
\r
63 X-BeenThere: notmuch@notmuchmail.org
\r
64 X-Mailman-Version: 2.1.13
\r
66 List-Id: "Use and development of the notmuch mail system."
\r
67 <notmuch.notmuchmail.org>
\r
68 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
71 List-Post: <mailto:notmuch@notmuchmail.org>
\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
73 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
74 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
75 X-List-Received-Date: Sat, 08 Feb 2014 23:56:29 -0000
\r
79 Content-Type: text/plain; charset=utf-8
\r
80 Content-Disposition: inline
\r
81 Content-Transfer-Encoding: quoted-printable
\r
83 On Thu, Feb 06, 2014 at 12:58:33AM +0200, Tomi Ollila wrote:
\r
84 > -VERSION:=3D$(shell git describe --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+=
\r
86 > +# Also write VERSION file in case its contents differ from $(VERSION)
\r
87 > +VERSION:=3D$(shell\
\r
88 > + gv=3D`git describe --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/`=
\r
91 Ew, backticks ;). What about handling more of the logic in Make:
\r
93 VERSION :=3D $(shell git describe =E2=80=A6)
\r
94 FILE_VERSION :=3D $(shell test -f VERSION || touch VERSION; cat VERSION)
\r
95 ifneq ($(FILE_VERSION), $(VERSION))
\r
96 $(shell echo "$(VERSION)" > VERSION)
\r
99 > +# Depend (also) on 'version' file. In case of ifeq ($(IS_GIT),yes)
\r
100 > +# this file may already have been updated.
\r
101 > +VERSION: version
\r
102 > + echo $(VERSION) > $@
\r
104 Do we care about case-insensitive filesystems where VERSION will
\r
105 collide with version?
\r
107 > -CLEAN :=3D $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) not=
\r
109 > +CLEAN :=3D $(CLEAN) VERSION notmuch notmuch-shared $(notmuch_client_modu=
\r
112 Where did notmuch.elc go?
\r
118 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
\r
119 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
\r
122 Content-Type: application/pgp-signature; name="signature.asc"
\r
123 Content-Description: OpenPGP digital signature
\r
125 -----BEGIN PGP SIGNATURE-----
\r
126 Version: GnuPG v2.0.22 (GNU/Linux)
\r
128 iQIcBAEBAgAGBQJS9sQkAAoJEKKfehoaNkbtNIQQAIPJycXMHuHL0HGSoJeg4U8p
\r
129 OTCt6N9tqkFHOcaIy/L45WY2WJZ+zsPMqFg8P4+/8WMuDrnP9/PJ8LdzRwSwNjO8
\r
130 t05p9r8fXksgSVNcN4TiVgNIpQxu7DrIQyh9Ys0kOaGRew+Oo8p/XTyRaYPZsvtS
\r
131 vWRfOaeN35ctHeNf0ajagcek9k1fup8hN4M8xFBrrFluQf91KWEPpSYHOcjXSUDC
\r
132 8UHa5aARRFP4ooVFuDmEMygqKuTjMiJN++/JXz0j6rf1Esaz4Gm/HfLHzk7Ut/EN
\r
133 jJhBcKqGi5HPaFsh4jwAbj06Ydugl9aNHCZRTlrT7yOYVOTkjIRDL2OEd9bpome9
\r
134 L8Py/8+/ewTfpWbZfW6qIIYTgn/HE5ItOUzq0H57nu33GCKmXVDMcq2ycQx7U7yG
\r
135 7BYhVMxCsE37Su/0nw4jU5zhqyf53h8ETs7/3jDpX8cPGCnyxKSprMOodhrBPqNO
\r
136 WgBlsLqzjNDMvXFESVK6pQVnbI9x+vXInqJApNXGvTHH1tkif9TzSS3oCb7s0foK
\r
137 rKVr/sCmg8xpv2hvpZUj8ggTUYZh2OUG6/w87fu7xvQ58Cf7vLbNN+PC29Gbo1px
\r
138 UU428xM5kj+L9+VlfFjHFtjJ3aoglwMspVdJzsZ8IxMBMZlnxRdwYqzv478F/hA1
\r
139 4qRJuR845hegTrblJSgA
\r
141 -----END PGP SIGNATURE-----
\r
143 --65ImJOski3p8EhYV--
\r