[PATCH 1/2] Fix the include directives when building in tools/

David Herrmann dh.herrmann at gmail.com
Tue Feb 25 02:58:10 PST 2014


Hi

On Tue, Feb 25, 2014 at 11:48 AM, Emmanuele Bassi <ebassi at gmail.com> wrote:
> From: Emmanuele Bassi <ebassi at gnome.org>
>
> We need to add top_srcdir to fix the build when srcdir != builddir.

Yepp!

Reviewed-by: David Herrmann <dh.herrmann at gmail.com>

Thanks
David

>
> Signed-off-by: Emmanuele Bassi <ebassi at gnome.org>
> ---
>  tools/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index 0b8fbd0..5d3600d 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -1,7 +1,7 @@
>  noinst_PROGRAMS = libevdev-events
>  bin_PROGRAMS = touchpad-edge-detector
>
> -AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
> +AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
>  libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la
>
>  libevdev_events_SOURCES = libevdev-events.c
> --
> 1.8.5.3
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list