From d38d4c617c146148c69550885fc381c048f65157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Wed, 25 Nov 2015 15:11:28 +0200 Subject: build: declare correctly parse lib built files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a continuation of commit fc8a0d12 When declaring BUILT_SOURCES, those files should not be distributed. This patch avoids the distribution of the generated source code. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=755525 --- gst/vaapi/Makefile.am | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am index 7a5f31a0..1d5a250b 100644 --- a/gst/vaapi/Makefile.am +++ b/gst/vaapi/Makefile.am @@ -187,20 +187,18 @@ libgstvaapi_1_4p_parse_gen_source_h = \ libgstvaapi_parse_gen_sources = \ $(libgstvaapi_parse_gen_source_c) \ $(libgstvaapi_parse_gen_source_h) \ - $(libgstvaapi_1_4p_parse_gen_source_c) \ - $(libgstvaapi_1_4p_parse_gen_source_h) \ - $(NUL) - -libgstvaapi_parse_source_c = gstvaapiparse.c $(libgstvaapi_parse_gen_source_c) -libgstvaapi_parse_source_h = gstvaapiparse.h $(libgstvaapi_parse_gen_source_h) + $(NULL) if USE_GST_API_1_4p -libgstvaapi_parse_source_c += $(libgstvaapi_1_4p_parse_gen_source_c) -libgstvaapi_parse_source_h += $(libgstvaapi_1_4p_parse_gen_source_h) +libgstvaapi_parse_gen_source_c += $(libgstvaapi_1_4p_parse_gen_source_c) +libgstvaapi_parse_gen_source_h += $(libgstvaapi_1_4p_parse_gen_source_h) endif -libgstvaapi_parse_la_SOURCES = $(libgstvaapi_parse_source_c) -noinst_HEADERS += $(libgstvaapi_parse_source_h) +libgstvaapi_parse_la_SOURCES = gstvaapiparse.c gstvaapiparse.h +nodist_libgstvaapi_parse_la_SOURCES = \ + $(libgstvaapi_parse_gen_source_c) \ + $(libgstvaapi_parse_gen_source_h) \ + $(NULL) libgstvaapi_parse_la_CFLAGS = \ -DGST_USE_UNSTABLE_API \ @@ -266,10 +264,6 @@ EXTRA_DIST = \ $(libgstvaapi_egl_source_h) \ $(libgstvaapi_1_2p_source_c) \ $(libgstvaapi_1_2p_source_h) \ - $(libgstvaapi_parse_source_c) \ - $(libgstvaapi_parse_source_h) \ - $(libgstvaapi_1_4p_parse_gen_source_c) \ - $(libgstvaapi_1_4p_parse_gen_source_h) \ $(NULL) -include $(top_srcdir)/git.mk -- cgit v1.2.1