[PATCH 1/2] Fix non-srcdir builds

Jon TURNEY jon.turney at dronecode.org.uk
Mon Mar 14 07:25:22 PDT 2011


Commit 3bb9256b8e3a56b94281ea787c07f080c0a80312 introduces an
-I.. which should be -I$(top_builddir) -I$(top_srcdir)

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 man/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index d200a94..5ef6009 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -7,7 +7,7 @@ EXTRA_DIST = $(appman_PRE) filenames.sed.c
 CLEANFILES = $(appman_DATA) filenames.sed
 SUFFIXES = .$(APP_MAN_SUFFIX) .man
 
-AM_CPPFLAGS = -I..
+AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
 filenames.sed: filenames.sed.c
 	$(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 	    $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
-- 
1.7.4


--------------000401020700040007080208--


More information about the xorg-devel mailing list