diff --git a/gst/parse/Makefile.am b/gst/parse/Makefile.am index d67ed5c7d1..559a4090ae 100644 --- a/gst/parse/Makefile.am +++ b/gst/parse/Makefile.am @@ -13,8 +13,13 @@ BUILT_SOURCES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c EXTRA_DIST = grammar.y parse.l types.h -grammar.tab.c grammar.tab.h: grammar.y +grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h $(BISON) $^ + +## this is so make install without a previous make can work, because +## this dir needs gstmarshal.h generated +../gstmarshal.h: + cd .. && make gstmarshal.h lex._gst_parse_yy.c: parse.l flex -P_gst_parse_yy $^