]> git.saurik.com Git - bison.git/blobdiff - lib/Makefile.am
Make `make distcheck' work.
[bison.git] / lib / Makefile.am
index 4fc4e488bf031fab7dc4fd3d06608183c58a2a95..e873c8f326e84c3a45ca03998523d2fc06404b59 100644 (file)
@@ -21,7 +21,13 @@ CFLAGS = @CFLAGS@ $(WARNING_CFLAGS)
 
 noinst_LIBRARIES = libbison.a
 
-INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl
+# libintl.h in is build/intl, libgettext.h in src/intl/,
+# config.h in build/., and system.h is in src/src/.
+INCLUDES = -I$(top_builddir)/intl \
+           -I$(top_builddir)      \
+           -I$(top_srcdir)/ \
+           -I$(top_srcdir)/intl \
+           -I$(top_srcdir)/lib
 
 # Heck, we are still using an old version of Automake which does not
 # understand LIBOBJ additions using $objext...