pgsql: Refactor flex and bison make rules

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Date: 2012-10-11T11:07:03Z
Lists: pgsql-hackers
Refactor flex and bison make rules

Numerous flex and bison make rules have appeared in the source tree
over time, and they are all virtually identical, so we can replace
them by pattern rules with some variables for customization.

Users of pgxs will also be able to benefit from this.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8521d131941be5a177270bc428fa8e684cd645b5

Modified Files
--------------
contrib/cube/Makefile                |   14 --------------
contrib/seg/Makefile                 |   14 --------------
src/Makefile.global.in               |   16 ++++++++++++++++
src/backend/bootstrap/Makefile       |   16 ----------------
src/backend/parser/Makefile          |   20 ++++----------------
src/backend/replication/Makefile     |   14 --------------
src/backend/utils/misc/Makefile      |    7 -------
src/bin/psql/Makefile                |   11 ++---------
src/interfaces/ecpg/preproc/Makefile |   15 +--------------
src/pl/plpgsql/src/Makefile          |    9 +--------
src/test/isolation/Makefile          |   14 --------------
11 files changed, 24 insertions(+), 126 deletions(-)

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Refactor flex and bison make rules