From 299e187bdfae86538065acc6f7bc8d470cdfae21 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 17 Nov 2011 12:40:50 -0400 Subject: [PATCH] build system: tweak VERSION so that debian-snapshot works for N.NN~rcN The problem was that the version is recovered from the git tag, which has the ~ replaced by _. This broke the sequencing of version numbers. --- Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.local b/Makefile.local index 6ddef5c8..8b42136a 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.]*'|sed -e s/-/+/ -e s/-/~/) +VERSION:=$(shell git describe --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/) endif endif endif