From 0897209f4d0609eb5ccd8cdf759f8d174c013566 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 17 Jul 2011 11:04:08 -0300 Subject: [PATCH 1/1] 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. --- Makefile.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.local b/Makefile.local index 2acc9d3a..e9cee27d 100644 --- a/Makefile.local +++ b/Makefile.local @@ -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 -- 2.43.0