]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
build system: tweak VERSION so that debian-snapshot works for N.NN~rcN
[notmuch] / Makefile.local
index 6ddef5c883b56a5970a9e96cb25f5e417b5f3ae0..8b42136a640b1c80cef40a8829c8e148e7e6650e 100644 (file)
@@ -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