mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
build system: target to make a Debian snapshot package.
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.
This commit is contained in:
parent
d9868bc056
commit
a1ca7e8ebb
1 changed files with 11 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue