]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
python: add classes to wrap all notmuch_*_t types
[notmuch] / Makefile.local
index 02afdd0f0308c24f2b71388f6e2dec5943d855d7..c94402b18d04e858fa89bd2e0a9b666fc14efeb5 100644 (file)
@@ -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."