aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-10-12 22:23:32 -0300
committerGravatar David Bremner <bremner@debian.org>2011-10-28 14:14:32 -0300
commitd9868bc056db69e3d9a3b119fd284345df60db9f (patch)
tree7ec795244c5bddcb6b69967a41ae2029b390edf3 /Makefile.local
parent4a4ada73b751b1916c5dc4d408a8056411566e38 (diff)
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.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local2
1 files changed, 1 insertions, 1 deletions
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