From: Tim Deegan Subject: Re: [PATCH v2] docs: make 'gmake dist-docs' work Date: Mon, 13 May 2013 13:30:25 +0100 Message-ID: <20130513123025.GA48126@ocelot.phlegethon.org> References: <518CFF30.8070402@amazon.de> <1368441887.537.49.camel@zakaz.uk.xensource.com> <5190CDC3.7030502@amazon.de> <1368444872.537.78.camel@zakaz.uk.xensource.com> <5190D88D.2020005@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5190D88D.2020005@amazon.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Christoph Egger Cc: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org At 14:11 +0200 on 13 May (1368454317), Christoph Egger wrote: > On 13.05.13 13:34, Ian Campbell wrote: > > I'm not suggesting your changes are wrong. I'd just like to understand > > the breakage... > > I retried w/o my patch to get the error message: > > xen.git$ gmake dist-docs > [...] > ./xen-headers -O html/hypercall \ > -T 'arch-x86_64 - Xen public headers' \ > -X arch-x86_32 -X xen-x86_32 -X arch-arm \ > ../xen include/public include/xen/errno.h > gmake[1]: ./xen-headers: Command not found > gmake[1]: *** [html/hypercall/index.html] Error 127 > gmake[1]: Leaving directory `/home/chegger/xen.git/docs' > gmake: *** [install-docs] Error 2 > xen.git$ > > Since I am on the toplevel directory (or the shell at least) > calling ./xen-headers can't be found, of course. That's my thinking. make has gone into docs/ for you -- I suspect the 'Command not found' comes from the '#!/usr/bin/perl -w' at the top of docs/xen-headers, and so the important change in the patch is to use $(PERL) in the invocation. Cheers, Tim.