Re: compile error of current git on F15
[notmuch-archives.git] / cb / cf6131b190c553f73ef3ad6d69d00fe8326ce6
1 Return-Path: <tomi.ollila@nixu.com>\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 0670B429E21\r
6         for <notmuch@notmuchmail.org>; Mon, 21 Nov 2011 08:27:13 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 yWys5sdJNYR7 for <notmuch@notmuchmail.org>;\r
16         Mon, 21 Nov 2011 08:27:11 -0800 (PST)\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 507D5431FD0\r
21         for <notmuch@notmuchmail.org>; Mon, 21 Nov 2011 08:27:11 -0800 (PST)\r
22 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
23         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
24         pALGR9qc008766\r
25         for <notmuch@notmuchmail.org>; Mon, 21 Nov 2011 18:27:09 +0200\r
26 From: Tomi Ollila <tomi.ollila@iki.fi>\r
27 To: notmuch@notmuchmail.org\r
28 Subject: [PATCH] make release: added goal verify-version-manpage\r
29 In-Reply-To: <yf6bos58o7r.fsf@taco2.nixu.fi>\r
30 References: <yf6bos58o7r.fsf@taco2.nixu.fi>\r
31 User-Agent: Notmuch/0.10~rc1+16~gc832dad (http://notmuchmail.org) Emacs/23.3.1\r
32         (i686-pc-linux-gnu)\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
34         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
35         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
36 Date: Mon, 21 Nov 2011 18:27:09 +0200\r
37 Message-ID: <yf68vn95tlu.fsf@taco2.nixu.fi>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 21 Nov 2011 16:27:13 -0000\r
53 \r
54 Check that the version mentioned in notmuch manual page\r
55 is consistent with the version file.\r
56 ---\r
57  Makefile.local |   10 +++++++++-\r
58  1 files changed, 9 insertions(+), 1 deletions(-)\r
59 \r
60 diff --git a/Makefile.local b/Makefile.local\r
61 index b6e216a..02afdd0 100644\r
62 --- a/Makefile.local\r
63 +++ b/Makefile.local\r
64 @@ -187,7 +187,7 @@ release-message:\r
65  verify-source-tree-and-version: verify-no-dirty-code\r
66  \r
67  .PHONY: verify-no-dirty-code\r
68 -verify-no-dirty-code: verify-version-debian verify-version-python\r
69 +verify-no-dirty-code: verify-version-debian verify-version-python verify-version-manpage\r
70  ifeq ($(IS_GIT),yes)\r
71         @printf "Checking that source tree is clean..."\r
72  ifneq ($(shell git ls-files -m),)\r
73 @@ -220,6 +220,14 @@ verify-version-python: verify-version-components\r
74                  echo "Please edit version and $(PV_FILE) to have consistent versions." && false)\r
75         @echo "Good."\r
76  \r
77 +.PHONY: verify-version-manpage\r
78 +verify-version-manpage: verify-version-components\r
79 +       @echo -n "Checking that manual page version is $(VERSION)..."\r
80 +       @[ "$(VERSION)" = $$(sed -n '/^[.]TH NOTMUCH 1/{s/.*"Notmuch //;s/".*//p;}' notmuch.1) ] || \\r
81 +               (echo "No." && \\r
82 +                echo "Please edit version and notmuch.1 to have consistent versions." && false)\r
83 +       @echo "Good."\r
84 +\r
85  .PHONY: verify-version-components\r
86  verify-version-components:\r
87         @echo -n "Checking that $(VERSION) consists only of digits and periods..."\r
88 -- \r
89 1.7.7.3\r
90 \r
91 \r