/[svn]/linuxsampler/trunk/src/network/Makefile.am
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1161 by iliev, Mon Apr 16 15:51:18 2007 UTC revision 1216 by schoenebeck, Fri Jun 1 15:50:38 2007 UTC
# Line 16  EXTRA_DIST = lscp.y Line 16  EXTRA_DIST = lscp.y
16    
17  .PHONY: parser  .PHONY: parser
18    
19  # generate parser with lex and yacc  # generate parser with bison / yacc
20  parser:  parser:
21          @echo "Generating LSCP parser..."          $(top_builddir)/scripts/generate_parser.sh
         @if which "yacc" > /dev/null; then \  
             yacc -d lscp.y && \  
             yacc lscp.y && \  
             mv -f y.tab.h lscpsymbols.h && \  
             mv -f y.tab.c lscpparser.cpp && \  
             echo -n "Updating Documentation/lscp.xml..." && \  
             (cd ../../scripts/ && ./update_grammar.pl) && \  
             echo "OK"; \  
         else \  
             echo "You need yacc (or bison) to generate the parser."; \  
         fi;  

Legend:
Removed from v.1161  
changed lines
  Added in v.1216

  ViewVC Help
Powered by ViewVC