From 702987d2634bdaee974642dda03d5f020f1b8b48 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 25 Feb 2014 10:48:48 +0000 Subject: [PATCH] Fix the include directives when building in tools/ We need to add top_srcdir to fix the build when srcdir != builddir. Signed-off-by: Emmanuele Bassi Reviewed-by: David Herrmann Signed-off-by: Peter Hutterer (cherry picked from commit b215120e39b4c87bcee11a0a500740a21e6ea0f4) --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 7ac4431..47716eb 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,6 +1,6 @@ noinst_PROGRAMS = libevdev-events -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