[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kdeprint
From:       Harri Porten <harri () trolltech ! com>
Date:       2001-03-25 21:26:38
[Download RAW message or body]

Michael Driscoll wrote:
> 
> >From kdelibs/kjs/Makefile*:
> 
> parser: $(srcdir)/grammar.y
>         cd $(srcdir); \
>         $(YACC) -d -p kjsyy grammar.y && mv grammar.tab.c grammar.cpp; \
>         if test -f grammar.tab.h; then \
>         if cmp -s grammar.tab.h grammar.h; then rm -f grammar.tab.h; \
>         else mv grammar.tab.h grammar.h; fi \
>         else :; fi
> 
> However nothing seems to reference 'parser', how does this get called?

"make parser" has to be invoked manually by whomever modified the .y or
.l file. Not perfect but safe against accidental commits.

Harri.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic