[PATCH wayland 1/4] build: depend on generated protocol headers

Pekka Paalanen ppaalanen at gmail.com
Mon Mar 10 05:03:57 PDT 2014


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Fixes the build failure where the protocol headers were not generated at
all before compiling src/.libs/libwayland_server_la-wayland-server.o.

The failure was reproducable by starting fresh with 'git clean -dxf' and
not having any wayland headers installed system-wide.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 8dabcf0..cb7a186 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,7 @@ libwayland_server_la_SOURCES =			\
 	src/event-loop.c
 
 nodist_libwayland_server_la_SOURCES =		\
+	protocol/wayland-server-protocol.h	\
 	protocol/wayland-protocol.c
 
 libwayland_client_la_CFLAGS = $(FFI_CFLAGS) $(GCC_CFLAGS) -pthread
@@ -53,6 +54,7 @@ libwayland_client_la_SOURCES =			\
 	src/wayland-client.c
 
 nodist_libwayland_client_la_SOURCES =		\
+	protocol/wayland-client-protocol.h	\
 	protocol/wayland-protocol.c
 
 pkgconfig_DATA += src/wayland-client.pc src/wayland-server.pc
-- 
1.8.3.2



More information about the wayland-devel mailing list