Re: pgsql/src/backend/parser (Makefile) - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src/backend/parser (Makefile)
Date
Msg-id 2117.963677460@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/src/backend/parser (Makefile)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgsql/src/backend/parser (Makefile)
List pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
> Some of the files in backend/parser include fmgroids.h, so in order to
> build anything there you have to build the backend at least once before
> you start fiddling with the parser.

Right.

> Once you have done that there will be
> a symlink from backend/parser/parse.h to include/parser/parse.h, so
> whatever you recompile backend/parser locally the changes to parse.h get
> propagated automatically.

Was it a symlink already?  I thought I recalled it being a hard link or
a copy.

There might also be a dependency issue, ie does make realize that
updating backend/parser/parse.h means it has to recompile files
that are shown as depending on include/parser/parse.h.  Offhand it
seems that this will fail to work unless backend/parser/Makefile
has a rule that makes the latter dependent on the former.

            regards, tom lane

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql/src/backend/parser (Makefile)
Next
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/doc (README.kerberos)