[PATCH 1/2] build system: remove dashes from git-describe generated	version.
    david at tethera.net 
    david at tethera.net
       
    Wed Oct 12 18:23:32 PDT 2011
    
    
  
From: David Bremner <bremner at debian.org>
This makes it less confusing with released Debian versions, now that we have
non-native Debian versions.
---
 Makefile.local |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.local b/Makefile.local
index 38f6c17..2c07bd7 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
-- 
1.7.6.3
    
    
More information about the notmuch
mailing list