Makefile for parser

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Makefile for parser
Date: 2000-06-26 13:38:27
Message-ID: 39575CD3.1AF36FFE@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

I believe that the Makefile used to reach up and over in the tree to
update parse.h, and I'll guess that this fell victim to a general
cleanup (looks like Tom Lane and Peter E. have been working with the
Makefiles, but I haven't tracked down the details).

Any suggestions for a fixup? In general, I agree that having Makefiles
muck with stuff elsewhere in the tree is a Bad Idea, but it would be
nice if each directory could be built on its own.

- Thomas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2000-06-26 13:58:21 Re: physical backup of PostgreSQL
Previous Message Adriaan Joubert 2000-06-26 13:29:40 Re: [PORTS] Re: Re: Call for port testing on fmgr changes --Results!