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
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 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
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
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
39 Content-Type: text/plain; charset=us-ascii
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\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
54 Check that the version mentioned in notmuch manual page
\r
55 is consistent with the version file.
\r
57 Makefile.local | 10 +++++++++-
\r
58 1 files changed, 9 insertions(+), 1 deletions(-)
\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
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
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
82 + echo "Please edit version and notmuch.1 to have consistent versions." && false)
\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