From: Ian Jackson Subject: Re: [PATCH 1/4] docs/html/hcall: Initial cut of header documentation massager Date: Mon, 14 Nov 2011 17:20:39 +0000 Message-ID: <20161.19943.363795.996759@mariner.uk.xensource.com> References: <1321212066-10648-1-git-send-email-ian.jackson@eu.citrix.com> <1321212066-10648-2-git-send-email-ian.jackson@eu.citrix.com> <1321264778.3664.19.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1321264778.3664.19.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/4] docs/html/hcall: Initial cut of header documentation massager"): > On Sun, 2011-11-13 at 19:21 +0000, Ian Jackson wrote: > > diff --git a/docs/xen-headers b/docs/xen-headers > > new file mode 100755 > > index 0000000..6918380 > > --- /dev/null > > +++ b/docs/xen-headers > > @@ -0,0 +1,281 @@ > > +#!/usr/bin/perl -w > > +# usage: xen-headers [ -X GLOB -I GLOB ... [-D...] ] \ > > +# -O HTML-DIR PUBLIC-INCLUDE-DIR > > No "-T"? Also for PUBLIC-INCLUDE-DIR you appear to pass "../xen > include/public" so my guess is that it is slightly more complicated? > Looks like "BASE-PUBLIC-INCLUDE-DIR PUBLIC-INCLUDE-FILE > [ PUBLIC-INCLUDE-FILE ... ] I seem to have forgotten to update the usage comment there. I will fix this. > [...] > > + s/\&/\&/g; > > + s/\ > + s/\>/\>/g; > > There must be a perl lib for this? Yes, but it's not in the base perl distribution and I didn't want to pull in a dependent library for three trivial lines. Ian.