[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [libvirt-glib] Fix make distcheck



On Tue, Nov 29, 2011 at 02:44:19PM +0100, Christophe Fergeau wrote:
> Do not ship autogenerated glib enum definitions in the tarball,
> otherwise they won't get regenerated in the build directory when
> using a tarball, and rules trying to find these files in the build
> directory will fail (eg the gir generation rule)
> ---
>  libvirt-gconfig/Makefile.am |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/libvirt-gconfig/Makefile.am b/libvirt-gconfig/Makefile.am
> index 4828fb9..b14bd92 100644
> --- a/libvirt-gconfig/Makefile.am
> +++ b/libvirt-gconfig/Makefile.am
> @@ -62,11 +62,13 @@ GCONFIG_SOURCE_FILES = \
>  
>  libvirt_gconfig_1_0_ladir = $(includedir)/libvirt-gconfig-1.0/libvirt-gconfig
>  libvirt_gconfig_1_0_la_HEADERS = \
> -			$(GCONFIG_HEADER_FILES) \
> +			$(GCONFIG_HEADER_FILES)
> +nodist_libvirt_gconfig_1_0_la_HEADERS = \
>  			$(builddir)/libvirt-gconfig-enum-types.h
>  libvirt_gconfig_1_0_la_SOURCES = \
>  			$(libvirt_gconfig_1_0_la_HEADERS) \
> -			$(GCONFIG_SOURCE_FILES) \
> +			$(GCONFIG_SOURCE_FILES)
> +nodist_libvirt_gconfig_1_0_la_SOURCES = \
>  			$(builddir)/libvirt-gconfig-enum-types.c
>  libvirt_gconfig_1_0_la_CFLAGS = \
>  			-DDATADIR="\"$(datadir)\"" \

ACK looks good now

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]