From baeee74502b8ff905e78155176d57a0291f318bd Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 5 Dec 2011 11:13:08 +0100 Subject: docs: fix version string --- docs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') 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: -- cgit v1.2.3