aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-07-02 21:02:33 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-07-03 16:38:16 +0100
commita12a88e966ce21587ea58d3c4d670cde25d1932e (patch)
treea9b025edc9a89a16cf4370605948309df741ff67
parent21ecf2392463a463b0507ae2142ccd5849e86bd9 (diff)
downloadxen-a12a88e966ce21587ea58d3c4d670cde25d1932e.tar.gz
xen-a12a88e966ce21587ea58d3c4d670cde25d1932e.tar.bz2
xen-a12a88e966ce21587ea58d3c4d670cde25d1932e.zip
docs: Pull Xen version from canonical location
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)
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 72bd5e46ea..472b7ede9d 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -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)