1 Return-Path: <bremner@tethera.net>
\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 6A358429E29
\r
6 for <notmuch@notmuchmail.org>; Wed, 12 Oct 2011 18:23:54 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 DM+YFikz8bh3 for <notmuch@notmuchmail.org>;
\r
16 Wed, 12 Oct 2011 18:23:53 -0700 (PDT)
\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])
\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 522F1429E28
\r
21 for <notmuch@notmuchmail.org>; Wed, 12 Oct 2011 18:23:52 -0700 (PDT)
\r
22 Received: from zancas.localnet
\r
23 (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net
\r
24 [156.34.64.58]) (authenticated bits=0)
\r
25 by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p9D1Nmuv007499
\r
26 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);
\r
27 Wed, 12 Oct 2011 22:23:49 -0300
\r
28 Received: from bremner by zancas.localnet with local (Exim 4.76)
\r
29 (envelope-from <bremner@tethera.net>)
\r
30 id 1REA1U-00041A-D7; Wed, 12 Oct 2011 22:23:48 -0300
\r
31 From: david@tethera.net
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH 2/2] build system: target to make a Debian snapshot package.
\r
34 Date: Wed, 12 Oct 2011 22:23:33 -0300
\r
35 Message-Id: <1318469013-15395-3-git-send-email-david@tethera.net>
\r
36 X-Mailer: git-send-email 1.7.6.3
\r
37 In-Reply-To: <1318469013-15395-1-git-send-email-david@tethera.net>
\r
38 References: <1318469013-15395-1-git-send-email-david@tethera.net>
\r
39 Cc: David Bremner <bremner@debian.org>
\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: Thu, 13 Oct 2011 01:23:54 -0000
\r
54 From: David Bremner <bremner@debian.org>
\r
56 Currently this builds a native package, but since the source package
\r
57 is throw away, it should not matter too much, except for the extra
\r
58 warnings from lintian.
\r
60 The extra +1 is so that if $(VERSION) is the same as the last released
\r
61 version (for example outside a git repo) then the versions still order
\r
64 Makefile.local | 11 +++++++++++
\r
65 1 files changed, 11 insertions(+), 0 deletions(-)
\r
67 diff --git a/Makefile.local b/Makefile.local
\r
68 index 2c07bd7..ec09f95 100644
\r
69 --- a/Makefile.local
\r
70 +++ b/Makefile.local
\r
71 @@ -130,6 +130,17 @@ pre-release:
\r
73 mv $(TAR_FILE) $(DEB_TAR_FILE) releases
\r
75 +.PHONY: debian-snapshot
\r
76 +debian-snapshot: TMPFILE := $(shell mktemp)
\r
78 + make VERSION=$(VERSION) clean
\r
79 + cp debian/changelog $(TMPFILE)
\r
80 + EDITOR=/bin/true dch -v $(VERSION)+1 -D UNRELEASED 'test build, not for upload'
\r
81 + echo '3.0 (native)' > debian/source/format
\r
83 + mv -f $(TMPFILE) debian/changelog
\r
84 + echo '3.0 (quilt)' > debian/source/format
\r
86 .PHONY: release-message
\r
88 @echo "To: notmuch@notmuchmail.org"
\r