gst/parse/Makefile.am: Fix the build by correcting the rule that gave wrong files to flex.

Original commit message from CVS:
* gst/parse/Makefile.am:
Fix the build by correcting the rule that gave wrong files to flex.
This commit is contained in:
Stefan Kost 2007-04-19 10:22:29 +00:00
parent e4e5396411
commit 55eca2e566
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2007-04-19 Stefan Kost <ensonic@users.sf.net>
* gst/parse/Makefile.am:
Fix the build by correcting the rule that gave wrong files to flex.
2007-04-19 Stefan Kost <ensonic@users.sf.net>
* tests/benchmarks/complexity.c:

View file

@ -45,14 +45,14 @@ endif
lex._gst_parse_yy.pre.c: parse.l grammar.tab.pre.h
if GENERATE_PARSER
$(FLEX_PATH) -P_gst_parse_yy lex._gst_parse_yy.c && \
$(FLEX_PATH) -P_gst_parse_yy $^ && \
mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c && \
echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \
echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c && \
echo '#endif' >> lex._gst_parse_yy_tmp2.c && \
cat lex._gst_parse_yy_tmp.c >> lex._gst_parse_yy_tmp2.c && \
rm lex._gst_parse_yy_tmp.c && \
mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c
mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c && \
cp lex._gst_parse_yy.c lex._gst_parse_yy.pre.c
else
echo "Timestamp issue on pregenerated flex output."