X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=c94402b18d04e858fa89bd2e0a9b666fc14efeb5;hp=02afdd0f0308c24f2b71388f6e2dec5943d855d7;hb=e92b438f46a3ad7103299b1c62747f36d9de06bf;hpb=fa3e2bad397fa3d8cb3e6edb99c55f8e00fecf04 diff --git a/Makefile.local b/Makefile.local index 02afdd0f..c94402b1 100644 --- a/Makefile.local +++ b/Makefile.local @@ -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."