projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a4ada7
)
build system: remove dashes from git-describe generated version.
author
David Bremner
<bremner@debian.org>
Thu, 13 Oct 2011 01:23:32 +0000
(22:23 -0300)
committer
David Bremner
<bremner@debian.org>
Fri, 28 Oct 2011 17:14:32 +0000
(14:14 -0300)
This makes it less confusing with released Debian versions, now that we have
non-native Debian versions.
Makefile.local
patch
|
blob
|
history
diff --git
a/Makefile.local
b/Makefile.local
index 38f6c1742b92f80d2930dcbdd70b9ddf867d9fe5..2c07bd789df1d3f35fc60a09e33f7561172f4631 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.]*')
+VERSION:=$(shell git describe --match '[0-9.]*'
|sed -e s/-/+/ -e s/-/~/
)
endif
endif
endif