build: depend on generated protocol headers
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 10 Mar 2014 12:03:57 +0000 (14:03 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 10 Mar 2014 20:10:10 +0000 (13:10 -0700)
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@collabora.co.uk>
Makefile.am

index 8dabcf0..cb7a186 100644 (file)
@@ -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