[libvirt] [PATCH] build: Fix API docs generation in VPATH build

Eric Blake eblake at redhat.com
Fri Feb 18 16:54:39 UTC 2011


On 02/18/2011 06:31 AM, Jiri Denemark wrote:
>>> +++ b/docs/devhelp/devhelp.xsl
>>> @@ -13,6 +13,13 @@
>>>    <!-- Build keys for all symbols -->
>>>    <xsl:key name="symbols" match="/api/symbols/*" use="@name"/>
>>>  
>>> +  <xsl:template match="/">
>>> +    <xsl:document xmlns="http://www.devhelp.net/book" href="libvirt.devhelp"
>>> +                  method="xml" encoding="UTF-8" indent="yes">
>>> +      <xsl:apply-templates/>
>>> +    </xsl:document>
>>> +  </xsl:template>
>>> +
>>>    <xsl:template match="/api">
>>>      <book title="{@name} Reference Manual" link="index.html" author="" name="{@name}">
>>>        <xsl:apply-templates select="files"/>
>>
>>   But that chunk is far from clear, why are you doing this ?
> 
> Ah, the reasoning was in a different email, I should have copied at least part
> of it into the commit message for this patch:

ACK! (but only with the commit message expanded to include the
rationale).  With this patch applied, and just a bit more effort, I was
able to run autobuild.sh in a VPATH situation from a fresh clone - patch
coming up soon...

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110218/3eb95495/attachment-0001.sig>


More information about the libvir-list mailing list