docs: more flexible version parsing in Makefile
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 8 May 2014 12:35:26 +0000 (15:35 +0300)
committerGuido Günther <agx@sigxcpu.org>
Thu, 5 Jun 2014 17:21:07 +0000 (19:21 +0200)
Add dash to the list of valid version characters.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
docs/Makefile

index 594126a..91c3b0a 100644 (file)
@@ -22,7 +22,7 @@ POD_MANPAGES=git-pbuilder.1
 MANPAGES=$(SGML_MANPAGES) $(POD_MANPAGES)
 VERSION_ENT=version.ent
 GBP_VERSION=../gbp/version.py
-DEB_VERSION=$(shell sed -ne 's/^gbp_version="\([.a-z0-9~]\+\)"/\1/p' $(GBP_VERSION))
+DEB_VERSION=$(shell sed -ne 's/^gbp_version="\([.a-z0-9~-]\+\)"/\1/p' $(GBP_VERSION))
 CHANGELOG=../debian/changelog
 
 all: $(MANUAL) $(MANPAGES)