[PATCH weston] build: fix wayland-backend distcheck

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 23 10:29:06 UTC 2016


On Wed, Nov 23, 2016 at 11:46:57AM +0200, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> 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 <pekka.paalanen at collabora.co.uk>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter
> ---
>  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
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 


More information about the wayland-devel mailing list