From: Guido Günther Date: Mon, 5 Dec 2011 10:13:08 +0000 (+0100) Subject: docs: fix version string X-Git-Tag: debian/0.6.0_git20111217~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=baeee74502b8ff905e78155176d57a0291f318bd;p=tools%2Fgit-buildpackage.git docs: fix version string --- diff --git a/docs/Makefile b/docs/Makefile index aafb4ed..774bf11 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -15,6 +15,8 @@ SGML_MANPAGES=$(patsubst %,%.1,$(COMMANDS)) 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)) CHANGELOG=../debian/changelog all: $(MANUAL) $(MANPAGES) @@ -31,7 +33,7 @@ git-pbuilder.1: ../bin/git-pbuilder manual.sgml: $(VERSION_ENT) -$(VERSION_ENT): $(CHANGELOG) +$(VERSION_ENT): $(GBP_VERSION) echo '' > $(VERSION_ENT) clean: