From: Pekka Paalanen <[email protected]>

Fix the following error from 'make distcheck':

  CC       libweston/wayland_backend_la-compositor-wayland.lo
../../libweston/compositor-wayland.c:54:51: fatal error: 
xdg-shell-unstable-v6-client-protocol.h: No such file or directory
 #include "xdg-shell-unstable-v6-client-protocol.h"

Files generated with the scanner belong in nodist_*_SOURCES, not with
the regular sources.

Signed-off-by: Pekka Paalanen <[email protected]>
---
 Makefile.am | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b90c4c8..b7eefd8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -394,12 +394,12 @@ wayland_backend_la_CFLAGS =                       \
 wayland_backend_la_SOURCES =                                   \
        libweston/compositor-wayland.c                          \
        libweston/compositor-wayland.h                          \
-       protocol/xdg-shell-unstable-v6-protocol.c               \
-       protocol/xdg-shell-unstable-v6-client-protocol.h        \
        shared/helpers.h
-nodist_wayland_backend_la_SOURCES =                    \
-       protocol/fullscreen-shell-unstable-v1-protocol.c                \
-       protocol/fullscreen-shell-unstable-v1-client-protocol.h
+nodist_wayland_backend_la_SOURCES =                            \
+       protocol/fullscreen-shell-unstable-v1-protocol.c        \
+       protocol/fullscreen-shell-unstable-v1-client-protocol.h \
+       protocol/xdg-shell-unstable-v6-protocol.c               \
+       protocol/xdg-shell-unstable-v6-client-protocol.h
 endif
 
 if ENABLE_HEADLESS_COMPOSITOR
-- 
2.7.3

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to