From: Ian Campbell Subject: Re: [PATCH] docs: Pull Xen version from canonical location Date: Wed, 3 Jul 2013 09:57:08 +0100 Message-ID: <1372841828.27768.167.camel@zakaz.uk.xensource.com> References: <1372795353-14383-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372795353-14383-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: George Dunlap , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2013-07-02 at 21:02 +0100, Andrew Cooper wrote: > rather than hard coding it and being wrong every time we branch for a release. > > Signed-off-by: Andrew Cooper Acked-by: Ian Campbell > > -- > This should be placed in unstable, and backported to 4.3 and 4.2 > --- > docs/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/Makefile b/docs/Makefile > index 72bd5e4..472b7ed 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)