Re: [libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-29 Thread Eric Blake
On 04/29/2010 09:59 AM, Daniel P. Berrange wrote: >> - libvirt-api.xml libvirt-refs.xml apibuild.py \ >> - site.xsl newapi.xsl news.xsl page.xsl ChangeLog.xsl \ >> + apibuild.py \ >> + site.xsl newapi.xsl news.xsl page.xsl ChangeLog.xsl \ >>$(dot_html) $(dot_html_in) $(gif) $(api

Re: [libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-29 Thread Daniel Veillard
On Wed, Apr 28, 2010 at 07:37:02PM -0600, Eric Blake wrote: > The rule of thumb for generated files: > If they are distributed, they should be generated in $(srcdir); > otherwise, they should be built by the end user in $(builddir). > Since our .xml docs are built with python, and we want them > av

Re: [libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-29 Thread Jim Meyering
Eric Blake wrote: > The rule of thumb for generated files: > If they are distributed, they should be generated in $(srcdir); > otherwise, they should be built by the end user in $(builddir). > Since our .xml docs are built with python, and we want them > available even to end users that don't build

Re: [libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-29 Thread Daniel P. Berrange
On Wed, Apr 28, 2010 at 07:37:02PM -0600, Eric Blake wrote: > diff --git a/docs/Makefile.am b/docs/Makefile.am > index a18821b..91ae13e 100644 > --- a/docs/Makefile.am > +++ b/docs/Makefile.am > @@ -53,10 +53,10 @@ gif = \ >architecture.gif \ >node.gif > > -dot_html_in = $(wildcard *.html.

Re: [libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-28 Thread Eric Blake
On 04/28/2010 07:37 PM, Eric Blake wrote: > The rule of thumb for generated files: > If they are distributed, they should be generated in $(srcdir); > otherwise, they should be built by the end user in $(builddir). A minor clarification: a generated file must be machine-independent before it is a

[libvirt] [PATCHv2 2/2] build: fix VPATH build of docs

2010-04-28 Thread Eric Blake
The rule of thumb for generated files: If they are distributed, they should be generated in $(srcdir); otherwise, they should be built by the end user in $(builddir). Since our .xml docs are built with python, and we want them available even to end users that don't build with python, we want them d