[libvirt] [PATCH] Install cpu_map.xml

Daniel P. Berrange berrange at redhat.com
Mon Dec 21 19:11:35 UTC 2009


On Mon, Dec 21, 2009 at 05:32:28PM +0100, Jiri Denemark wrote:
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/Makefile.am |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 7d731de..42108c0 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -16,7 +16,7 @@ INCLUDES =							\
>  		-DSBINDIR=\""$(sbindir)"\"			\
>  		-DSYSCONF_DIR="\"$(sysconfdir)\""		\
>  		-DLOCALEBASEDIR=\""$(datadir)/locale"\"		\
> -		-DDATADIR=\""$(datadir)/libvirt"\"		\
> +		-DDATADIR=\""$(pkgdatadir)"\"			\
>  		-DLOCAL_STATE_DIR=\""$(localstatedir)"\"	\
>  		-DGETTEXT_PACKAGE=\"$(PACKAGE)\"		\
>  		$(WARN_CFLAGS)					\
> @@ -287,7 +287,9 @@ CPU_SOURCES =							\
>  		cpu/cpu_x86.h cpu/cpu_x86.c cpu/cpu_x86_data.h	\
>  		cpu/cpu_map.h cpu/cpu_map.c
>  
> -EXTRA_DIST += 	cpu/cpu_map.xml
> +pkgdata_DATA =	cpu/cpu_map.xml
> +
> +EXTRA_DIST += 	$(pkgdata_DATA)
>  
>  #########################
>  #

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.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