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 F201B431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 1 Sep 2012 02:32:14 -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 vN-p3ZCpIkWD for <notmuch@notmuchmail.org>;
\r
16 Sat, 1 Sep 2012 02:32:13 -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 9D948431FBC
\r
19 for <notmuch@notmuchmail.org>; Sat, 1 Sep 2012 02:32:13 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 99A0E100645; Sat, 1 Sep 2012 12:32:21 +0300 (EEST)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH V2 2/2] {.,
\r
25 man}/Makefile.local: edit/remove release-checks.sh related targets
\r
26 Date: Sat, 1 Sep 2012 12:32:08 +0300
\r
27 Message-Id: <1346491928-2356-2-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 1.7.1
\r
29 In-Reply-To: <1346491928-2356-1-git-send-email-tomi.ollila@iki.fi>
\r
30 References: <1346491928-2356-1-git-send-email-tomi.ollila@iki.fi>
\r
31 Cc: Tomi Ollila <tomi.ollila@iki.fi>
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.13
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Sat, 01 Sep 2012 09:32:15 -0000
\r
46 Use new target release-checks in place of verify-version-debian,
\r
47 verify-version-python verify-version-manpage. This target executes
\r
48 devel/release-checks.sh which does all the verifications the three
\r
49 dropped targets did, and some more.
\r
51 Makefile.local | 28 ++++------------------------
\r
52 man/Makefile.local | 9 +--------
\r
53 2 files changed, 5 insertions(+), 32 deletions(-)
\r
55 diff --git a/Makefile.local b/Makefile.local
\r
56 index de984ab..99f1e19 100644
\r
57 --- a/Makefile.local
\r
58 +++ b/Makefile.local
\r
59 @@ -187,7 +187,7 @@ release-message:
\r
60 verify-source-tree-and-version: verify-no-dirty-code
\r
62 .PHONY: verify-no-dirty-code
\r
63 -verify-no-dirty-code: verify-version-debian verify-version-python verify-version-manpage
\r
64 +verify-no-dirty-code: release-checks
\r
65 ifeq ($(IS_GIT),yes)
\r
66 @printf "Checking that source tree is clean..."
\r
67 ifneq ($(shell git ls-files -m),)
\r
68 @@ -204,29 +204,9 @@ else
\r
72 -.PHONY: verify-version-debian
\r
73 -verify-version-debian: verify-version-components
\r
74 - @echo -n "Checking that Debian package version is $(VERSION)-1..."
\r
75 - @[ "$(VERSION)-1" = $$(sed '1{ s/).*//; s/.*(//; q; }' debian/changelog) ] || \
\r
77 - echo "Please edit version and debian/changelog to have consistent versions." && false)
\r
80 -.PHONY: verify-version-python
\r
81 -verify-version-python: verify-version-components
\r
82 - @echo -n "Checking that python bindings version is $(VERSION)..."
\r
83 - @[ "$(VERSION)" = $$(python -c "execfile('$(PV_FILE)'); print __VERSION__") ] || \
\r
85 - echo "Please edit version and $(PV_FILE) to have consistent versions." && false)
\r
88 -.PHONY: verify-version-components
\r
89 -verify-version-components:
\r
90 - @echo -n "Checking that $(VERSION) consists only of digits and periods..."
\r
91 - @echo $(VERSION) | grep -q -x '^[0-9.]*$$' || \
\r
93 - echo "Please follow the instructions in RELEASING to choose a version" && false)
\r
95 +.PHONY: release-checks
\r
97 + exec devel/release-checks.sh
\r
99 .PHONY: verify-newer
\r
101 diff --git a/man/Makefile.local b/man/Makefile.local
\r
102 index d43a949..72e2a18 100644
\r
103 --- a/man/Makefile.local
\r
104 +++ b/man/Makefile.local
\r
105 @@ -32,7 +32,7 @@ COMPRESSED_MAN := $(MAN1_GZ) $(MAN5_GZ) $(MAN7_GZ)
\r
107 gzip --stdout $^ > $@
\r
109 -.PHONY: install-man update-man-versions verify-version-manpage
\r
110 +.PHONY: install-man update-man-versions
\r
112 install-man: $(COMPRESSED_MAN)
\r
113 mkdir -p "$(DESTDIR)$(mandir)/man1"
\r
114 @@ -43,13 +43,6 @@ install-man: $(COMPRESSED_MAN)
\r
115 install -m0644 $(MAN7_GZ) $(DESTDIR)/$(mandir)/man7
\r
116 cd $(DESTDIR)/$(mandir)/man1 && ln -sf notmuch.1.gz notmuch-setup.1.gz
\r
118 -verify-version-manpage: verify-version-components
\r
119 - @echo -n "Checking that manual page version is $(VERSION)..."
\r
120 - @[ "$(VERSION)" = $$(sed -n '/^[.]TH NOTMUCH 1/{s/.*"Notmuch //;s/".*//p;}' $(MAIN_PAGE)) ] || \
\r
122 - echo "Please edit version and notmuch.1 to have consistent versions." && false)
\r
125 update-man-versions: $(MAN_SOURCE)
\r
126 for file in $(MAN_SOURCE); do \
\r
127 cp $$file $$file.bak ; \
\r