[WESTON patch] Makefile: fix assigning to dist_wayland_session_DATA

sardemff7+wayland at sardemff7.net sardemff7+wayland at sardemff7.net
Thu Jan 22 02:32:21 PST 2015


On 2015-01-22 10:03, Marek Chalupa wrote:
> dist_wayland_session_DATA is not set anywhere before, so using +=
> results in:
>
> error: dist_wayland_session_DATA must be set with '=' before using '+='
>
> Signed-off-by: Marek Chalupa <mchqwerty at gmail.com>
> ---
>   Makefile.am | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index ccec9f3..589b47b 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -158,7 +158,7 @@ pkgconfig_DATA = src/weston.pc
>
>   wayland_sessiondir = $(datadir)/wayland-sessions
>   wayland_session_DATA = src/weston.desktop
> -dist_wayland_session_DATA += $(wayland_session_DATA)
> +dist_wayland_session_DATA = $(wayland_session_DATA)
>
>   westonincludedir = $(includedir)/weston
>   westoninclude_HEADERS =				\
>

dist_wayland_session_DATA *alone* is more than enough actually. :-)
So:

dist_wayland_session_DATA = src/weston.desktop

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list