aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-07-17 11:04:08 -0300
committerGravatar David Bremner <bremner@debian.org>2011-07-17 11:04:08 -0300
commit0897209f4d0609eb5ccd8cdf759f8d174c013566 (patch)
treee29e60e94f22a7c76ed60c6a6d17762e0318bdcb
parent466f3b57aa9650cbed47152241813e212c965f94 (diff)
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.
-rw-r--r--Makefile.local4
1 files 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