mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
make release: use sed to check debian version
Use common sed tool instead of dpkg-parsechangelog (which is usually available on debian systems only) to verify that debian version information is consistent with version file.
This commit is contained in:
parent
fa3e2bad39
commit
ae7814bd61
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ endif
|
|||
.PHONY: verify-version-debian
|
||||
verify-version-debian: verify-version-components
|
||||
@echo -n "Checking that Debian package version is $(VERSION)-1..."
|
||||
@[ "$(VERSION)-1" = $$(dpkg-parsechangelog | grep ^Version | awk '{print $$2}') ] || \
|
||||
@[ "$(VERSION)-1" = $$(sed '1{ s/).*//; s/.*(//; q; }' debian/changelog) ] || \
|
||||
(echo "No." && \
|
||||
echo "Please edit version and debian/changelog to have consistent versions." && false)
|
||||
@echo "Good."
|
||||
|
|
Loading…
Reference in a new issue