]> xenbits.xensource.com Git - xen.git/commitdiff
docs: Pull Xen version from canonical location
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 2 Jul 2013 20:02:33 +0000 (21:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 3 Jul 2013 15:38:16 +0000 (16:38 +0100)
rather than hard coding it and being wrong every time we branch for a release.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
(cherry picked from commit f487767ad0e58acb6c1ed3cc56daa0fb71b1f23a)

docs/Makefile

index 72bd5e46ea978427a822035900ad79426e1301ec..472b7ede9d6c379e2ce9d1ca18957167b7eee815 100644 (file)
@@ -2,7 +2,7 @@ XEN_ROOT=$(CURDIR)/..
 include $(XEN_ROOT)/Config.mk
 -include $(XEN_ROOT)/config/Docs.mk
 
-VERSION                = xen-unstable
+VERSION                := $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion)
 
 DOC_MAN5SRC    := $(wildcard man/*.pod.5)
 DOC_MAN1SRC    := $(wildcard man/*.pod.1)