[PATCH libinput] tools: fix broken build if builddir != srcdir

Hans de Goede hdegoede at redhat.com
Thu Apr 30 00:39:08 PDT 2015


Hi,

On 30-04-15 06:14, Peter Hutterer wrote:
> Introduced in 6b6f8151a41147eb44d08f33de143b43eb004563, libinput-version.h is
> in the builddir.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Looks good to me:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans

> ---
>   tools/Makefile.am | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index ae3a27f..792f310 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -3,8 +3,8 @@ bin_PROGRAMS = libinput-list-devices
>   noinst_LTLIBRARIES = libshared.la
>
>   AM_CPPFLAGS = -I$(top_srcdir)/include \
> -              -I$(top_srcdir)/src
> -
> +              -I$(top_srcdir)/src \
> +              -I$(top_builddir)/src  # for libinput-version.h
>
>   libshared_la_SOURCES = \
>   		       shared.c \
>


More information about the wayland-devel mailing list