Commit f9fa740fd53e3b57374b674527b2a5a55431349b

Daniel Stone 2012-05-09T15:23:44

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
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 = \