From: David Bremner Date: Thu, 13 Oct 2011 01:23:32 +0000 (-0300) Subject: build system: remove dashes from git-describe generated version. X-Git-Tag: 0.10_rc1~63 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=d9868bc056db69e3d9a3b119fd284345df60db9f 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. --- 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