aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-05-08 15:35:26 +0300
committerGuido Günther <agx@sigxcpu.org>2014-06-05 19:21:07 +0200
commit655a6f0528afcebe1b4493abe865ee568c505bbf (patch)
tree89b9ece3de5c1e9d302e7e09aac053699c476073
parent07637abe3540c65a6352aba667ebdecfcb4bfe85 (diff)
docs: more flexible version parsing in Makefile
Add dash to the list of valid version characters. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 594126a6..91c3b0ad 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -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)