Make build directory includes more explicit We depend on parser.h which is generated by flex during the build, so use an explicit $(top_builddir) rather than a relative path. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
diff --git a/Makefile.am b/Makefile.am
index 5e929d5..ac9cf8a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/xkbcomp \
- -Isrc/xkbcomp \
+ -I$(top_builddir)/src/xkbcomp \
-include $(top_srcdir)/src/config.h
AM_CFLAGS = \