Re: Makefile for parser
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Lockhart <lockhart@alumni.caltech.edu>
Cc: Hackers List <pgsql-hackers@postgresql.org>
Date: 2000-06-26T14:55:33Z
Lists: pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes: > I've started doing a bit of work on gram.y, and am noticing some new > cruftiness in the Makefile: if I add tokens to gram.y/keywords.c then I > can't just remake in that directory since parse.h is not updated > elsewhere in the tree. Uh ... what's your point? If the changes to parse.h affect anything else then you ought to be doing a top-level make --- or at the very least a make in src/backend --- and that will rebuild include/parser/parse.h. regards, tom lane