mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
build-system: update version check to support non-native packages.
We could be a bit more flexible about this and support optional Debian versions, but for the moment, we pick a policy and stick to it.
This commit is contained in:
parent
466f3b57aa
commit
0897209f4d
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ endif
|
|||
|
||||
.PHONY: verify-version-debian
|
||||
verify-version-debian: verify-version-components
|
||||
@echo -n "Checking that Debian package version is $(VERSION)..."
|
||||
@if [ "$(VERSION)" != $$(dpkg-parsechangelog | grep ^Version | awk '{print $$2}') ] ; then \
|
||||
@echo -n "Checking that Debian package version is $(VERSION)-1..."
|
||||
@if [ "$(VERSION)-1" != $$(dpkg-parsechangelog | grep ^Version | awk '{print $$2}') ] ; then \
|
||||
(echo "No." && \
|
||||
echo "Please edit version and debian/changelog to have consistent versions." && false) \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue