projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b921d
)
build system: tweak VERSION so that debian-snapshot works for N.NN~rcN
author
David Bremner
<bremner@debian.org>
Thu, 17 Nov 2011 16:40:50 +0000
(12:40 -0400)
committer
David Bremner
<bremner@debian.org>
Thu, 17 Nov 2011 16:40:50 +0000
(12:40 -0400)
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
patch
|
blob
|
history
diff --git
a/Makefile.local
b/Makefile.local
index 6ddef5c883b56a5970a9e96cb25f5e417b5f3ae0..8b42136a640b1c80cef40a8829c8e148e7e6650e 100644
(file)
--- 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