Re: Makefile for parser
| От | Tom Lane |
|---|---|
| Тема | Re: Makefile for parser |
| Дата | |
| Msg-id | 8638.962095090@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Makefile for parser (Thomas Lockhart <lockhart@alumni.caltech.edu>) |
| Список | pgsql-hackers |
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
>> Uh ... what's your point?
> Any change to gram.y regenerates the local copy of parse.h and affects
> other files *in that local directory* (as well as elsewhere). The
> makefile *in that local directory* should be able to make the other
> files *in that same directory* at the same time.
Oh, right, the files in that directory are going to include parse.h
from the include dir now, instead of ".", aren't they? I see your
problem.
Probably the rule that installs parse.h into the include tree ought to
be pushed down from backend/Makefile to backend/parser/Makefile (but
backend/Makefile still needs to invoke it during its prebuildheaders
phase). Maybe likewise for fmgroids.h into backend/utils.
Peter, any thoughts here?
regards, tom lane
В списке pgsql-hackers по дате отправления: