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

[libvirt] [libvirt-glib] Fix make distcheck



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)\"" \
-- 
1.7.7.3


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