Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6A358429E29 for ; Wed, 12 Oct 2011 18:23:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DM+YFikz8bh3 for ; Wed, 12 Oct 2011 18:23:53 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 522F1429E28 for ; Wed, 12 Oct 2011 18:23:52 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.64.58]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p9D1Nmuv007499 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 12 Oct 2011 22:23:49 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1REA1U-00041A-D7; Wed, 12 Oct 2011 22:23:48 -0300 From: david@tethera.net To: notmuch@notmuchmail.org Subject: [PATCH 2/2] build system: target to make a Debian snapshot package. Date: Wed, 12 Oct 2011 22:23:33 -0300 Message-Id: <1318469013-15395-3-git-send-email-david@tethera.net> X-Mailer: git-send-email 1.7.6.3 In-Reply-To: <1318469013-15395-1-git-send-email-david@tethera.net> References: <1318469013-15395-1-git-send-email-david@tethera.net> Cc: David Bremner X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2011 01:23:54 -0000 From: David Bremner Currently this builds a native package, but since the source package is throw away, it should not matter too much, except for the extra warnings from lintian. The extra +1 is so that if $(VERSION) is the same as the last released version (for example outside a git repo) then the versions still order correctly. --- Makefile.local | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Makefile.local b/Makefile.local index 2c07bd7..ec09f95 100644 --- a/Makefile.local +++ b/Makefile.local @@ -130,6 +130,17 @@ pre-release: mkdir -p releases mv $(TAR_FILE) $(DEB_TAR_FILE) releases +.PHONY: debian-snapshot +debian-snapshot: TMPFILE := $(shell mktemp) +debian-snapshot: + make VERSION=$(VERSION) clean + cp debian/changelog $(TMPFILE) + EDITOR=/bin/true dch -v $(VERSION)+1 -D UNRELEASED 'test build, not for upload' + echo '3.0 (native)' > debian/source/format + debuild -us -uc + mv -f $(TMPFILE) debian/changelog + echo '3.0 (quilt)' > debian/source/format + .PHONY: release-message release-message: @echo "To: notmuch@notmuchmail.org" -- 1.7.6.3