aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-11-17 12:40:50 -0400
committerGravatar David Bremner <bremner@debian.org>2011-11-17 12:40:50 -0400
commit299e187bdfae86538065acc6f7bc8d470cdfae21 (patch)
treeb23730b190906f2f2da81779b4f661c56867199a /Makefile.local
parent53b921d60432317de5628b0f0746ef337d5f8118 (diff)
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.
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 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