build system: allow decreasing debian versions for debian-snapshot

This allows the debian-snapshot to continue working between when
debian/changelog is updated and when the release is tagged.
This commit is contained in:
David Bremner 2011-12-05 22:27:08 -04:00
parent bcd8d139f4
commit 8e3879b689

View 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