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

Daniel P. Berrange berrange at redhat.com
Thu Apr 29 15:59:07 UTC 2010


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.in)
> +dot_html_in = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.html.in))
>  dot_html = $(dot_html_in:%.html.in=%.html)
> 
> -patches = $(wildcard api_extension/*.patch)
> +patches = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/api_extension/*.patch))
> 
>  xml = \
>    libvirt-api.xml \
> @@ -70,8 +70,8 @@ fig = \
>    libvirt-object-model.fig
> 
>  EXTRA_DIST=					\
> -  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) $(apihtml) $(apipng) \
>    $(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
>    $(xml) $(fig) $(png) \

We explicitly wanted the  libvirt-api.xml libvirt-refs.xml  files in
the tar.gz, even though they are generated, since this allows people to
build libvirt without python.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list