From d9868bc056db69e3d9a3b119fd284345df60db9f Mon Sep 17 00:00:00 2001
From: David Bremner <bremner@debian.org>
Date: Wed, 12 Oct 2011 22:23:32 -0300
Subject: [PATCH] build system: remove dashes from git-describe generated
 version.

This makes it less confusing with released Debian versions, now that we have
non-native Debian versions.
---
 Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.local b/Makefile.local
index 38f6c174..2c07bd78 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -17,7 +17,7 @@ ifneq ($(MAKECMDGOALS),release)
 ifneq ($(MAKECMDGOALS),release-message)
 ifneq ($(MAKECMDGOALS),pre-release)
 ifeq ($(IS_GIT),yes)
-VERSION:=$(shell git describe --match '[0-9.]*')
+VERSION:=$(shell git describe --match '[0-9.]*'|sed -e s/-/+/ -e s/-/~/)
 endif
 endif
 endif
-- 
2.45.2