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

Emmanuele Bassi ebassi at gmail.com
Tue Feb 25 02:48:48 PST 2014


From: Emmanuele Bassi <ebassi at gnome.org>

We need to add top_srcdir to fix the build when srcdir != builddir.

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



More information about the Input-tools mailing list