]> git.notmuchmail.org Git - notmuch/commitdiff
build system: allow decreasing debian versions for debian-snapshot
authorDavid Bremner <bremner@debian.org>
Tue, 6 Dec 2011 02:27:08 +0000 (22:27 -0400)
committerDavid Bremner <bremner@debian.org>
Tue, 6 Dec 2011 02:27:08 +0000 (22:27 -0400)
This allows the debian-snapshot to continue working between when
debian/changelog is updated and when the release is tagged.

Makefile.local

index 8b42136a640b1c80cef40a8829c8e148e7e6650e..d97fa6183d45f179294f29b2cf853cbb5898d5b0 100644 (file)
@@ -135,7 +135,7 @@ 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'
+       EDITOR=/bin/true dch -b -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