build: fix make distcheck
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 24 Mar 2010 15:47:22 +0000 (15:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 24 Mar 2010 15:47:22 +0000 (15:47 +0000)
The change from GST_ALL_CFLAGS to GST_OPTION_CFLAGS dropped the includes,
putting them back fixes make distcheck.

gst/parse/Makefile.am

index c4323e1529cf7d225a4747f06b652b162e12d2c2..f9683fce851c015aaacf59251334fefb4624c577 100644 (file)
@@ -15,7 +15,8 @@ nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
 CLEANFILES += grammar.tab.c lex._gst_parse_yy.c
 
 # can't use GST_ALL_CFLAGS here because that'd pull in -Werror
-libgstparse_la_CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_OPTION_CFLAGS)
+libgstparse_la_CFLAGS = -I$(top_srcdir) -I$(top_builddir) \
+       $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_OPTION_CFLAGS)
 libgstparse_la_LIBADD = $(GST_ALL_LIBS)
 
 noinst_HEADERS = grammar.tab.h types.h