From b64cad0f181490c2fed78db7dc68609b28cc73b4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 11 Oct 2019 10:22:02 +0100 Subject: [PATCH] build: Don't distribute flatpak-portal-dbus.c in tarballs Adding generated files to foo_SOURCES causes them to be distributed, even if that was not intended. Use nodist_foo_SOURCES instead. Signed-off-by: Simon McVittie --- tests/Makefile.am.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc index 5f87fa59..edcf2f4d 100644 --- a/tests/Makefile.am.inc +++ b/tests/Makefile.am.inc @@ -70,9 +70,8 @@ tests_test_update_portal_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) \ -DFLATPAK_COMPILATION \ -DLOCALEDIR=\"$(localedir)\" tests_test_update_portal_LDADD = $(AM_LDADD) $(BASE_LIBS) -tests_test_update_portal_SOURCES = \ - tests/test-update-portal.c \ - portal/flatpak-portal-dbus.c +tests_test_update_portal_SOURCES = tests/test-update-portal.c +nodist_tests_test_update_portal_SOURCES = portal/flatpak-portal-dbus.c tests_test_portal_impl_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) \ -DFLATPAK_COMPILATION \