diff options
| author | David Bremner <bremner@debian.org> | 2011-11-17 12:40:50 -0400 |
|---|---|---|
| committer | David Bremner <bremner@debian.org> | 2011-11-17 12:40:50 -0400 |
| commit | 299e187bdfae86538065acc6f7bc8d470cdfae21 (patch) | |
| tree | b23730b190906f2f2da81779b4f661c56867199a | |
| parent | 53b921d60432317de5628b0f0746ef337d5f8118 (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.
| -rw-r--r-- | Makefile.local | 2 |
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 |
