From c82ec7af7cb9f910a3b4f73521d17a443d650f0f Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 24 Jun 2011 20:26:25 -0400 Subject: [PATCH] Fix VPATH builds from git. In such builds, C source files (that are normally distributed) get generated, which means they end up in the build tree. Building them subsequently fails because headers (in the source tree) are not found. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 80657e2..87635f6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib . -CPPFLAGS = -I$(top_builddir)/src -I$(top_builddir)/lib -I$(top_srcdir)/lib +CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \ + -I$(top_builddir)/lib -I$(top_srcdir)/lib MAINTAINERCLEANFILES = src/scan.c src/scan.h src/scan.stamp \ src/parse.c src/parse.h src/parse.stamp -- 2.43.2