diff options
author | Ross Burton <ross@linux.intel.com> | 2008-09-18 20:00:19 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2008-09-18 20:00:19 +0100 |
commit | e89a09806f4cf36009ded30cc19f6557eb84cd35 (patch) | |
tree | 6548e9dc6af637f8b77f92276f5d82299fa75455 | |
parent | 52ad282864aafb397f1427345cdb8fe31ea1d05c (diff) |
Add top_srcdir to the include path to fix distcheck
-rw-r--r-- | examples/Makefile.am | 2 | ||||
-rw-r--r-- | rest/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index d4299da..83d48ea 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,6 +1,6 @@ noinst_PROGRAMS = test-raw test-xml -AM_CFLAGS = $(GLIB_CFLAGS) $(SOUP_CFLAGS) -I.. +AM_CFLAGS = $(GLIB_CFLAGS) $(SOUP_CFLAGS) -I$(top_srcdir) AM_LDFLAGS = $(GLIB_LIBS) $(SOUP_LIBS) ../rest/librest.la test_raw_SOURCES = test-raw.c diff --git a/rest/Makefile.am b/rest/Makefile.am index 3a55bbf..804e2da 100644 --- a/rest/Makefile.am +++ b/rest/Makefile.am @@ -1,7 +1,7 @@ lib_LTLIBRARIES = librest.la librest_la_CFLAGS = $(GLIB_CFLAGS) $(SOUP_CFLAGS) $(XML_CFLAGS) \ - -Wall -DG_LOG_DOMAIN=\"Rest\" + -I$(top_srcdir) -Wall -DG_LOG_DOMAIN=\"Rest\" librest_la_LIBADD = $(GLIB_LIBS) $(SOUP_LIBS) $(XML_LIBS) librest_la_SOURCES = rest-proxy.c \ rest-proxy-call.c \ |