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.
This commit is contained in:
David Bremner 2011-10-12 22:23:32 -03:00
parent 4a4ada73b7
commit d9868bc056

View file

@ -17,7 +17,7 @@ ifneq ($(MAKECMDGOALS),release)
ifneq ($(MAKECMDGOALS),release-message) ifneq ($(MAKECMDGOALS),release-message)
ifneq ($(MAKECMDGOALS),pre-release) ifneq ($(MAKECMDGOALS),pre-release)
ifeq ($(IS_GIT),yes) 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 endif
endif endif