[PATCH] Makefile.am: Include files built for libweston-desktop in BUILT_SOURCES

Jonas Ådahl jadahl at gmail.com
Mon Aug 15 09:33:53 UTC 2016


Without this make distcheck fails. Also remove redundant nodist sources
from desktop-shell source list.

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 47fc643..92009d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -129,6 +129,8 @@ nodist_libweston_desktop_ at LIBWESTON_MAJOR@_la_SOURCES =		\
 	protocol/xdg-shell-unstable-v5-protocol.c		\
 	protocol/xdg-shell-unstable-v5-server-protocol.h
 
+BUILT_SOURCES += $(nodist_libweston_desktop_ at LIBWESTON_MAJOR@_la_SOURCES)
+
 libweston-desktop- at LIBWESTON_MAJOR@.la libweston-desktop/libweston_desktop_ at LIBWESTON_MAJOR@_la-xdg-shell-v6.lo: protocol/xdg-shell-unstable-v6-server-protocol.h
 libweston-desktop- at LIBWESTON_MAJOR@.la libweston-desktop/libweston_desktop_ at LIBWESTON_MAJOR@_la-xdg-shell-v5.lo: protocol/xdg-shell-unstable-v5-server-protocol.h
 
@@ -910,9 +912,7 @@ desktop_shell_la_SOURCES =				\
 	shared/helpers.h
 nodist_desktop_shell_la_SOURCES =			\
 	protocol/weston-desktop-shell-protocol.c	\
-	protocol/weston-desktop-shell-server-protocol.h	\
-	protocol/xdg-shell-unstable-v5-protocol.c	\
-	protocol/xdg-shell-unstable-v5-server-protocol.h
+	protocol/weston-desktop-shell-server-protocol.h
 
 BUILT_SOURCES += $(nodist_desktop_shell_la_SOURCES)
 endif
-- 
2.7.4



More information about the wayland-devel mailing list