pgsql: Make handling of errcodes.h more consistent with other generated

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make handling of errcodes.h more consistent with other generated
Date: 2011-02-04 14:29:46
Message-ID: E1PlMfS-0007zB-JH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make handling of errcodes.h more consistent with other generated headers.

This fixes make distprep, and seems more robust in other ways as well.
Some special handling is required because errcodes.txt is needed by
some stuff in src/port, but just by src/backend as is the case for the
other generated headers.

While I'm at it, fix a few other things that were overlooked in the
original patch.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=356f2cbbb42811596820c94aaec2e32ad1ec58d8

Modified Files
--------------
src/Makefile | 12 ------------
src/backend/Makefile | 16 +++++++++++++---
src/backend/utils/Makefile | 2 +-
src/include/Makefile | 1 +
src/port/Makefile | 7 +++++++
src/tools/msvc/clean.bat | 1 +
6 files changed, 23 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-02-04 14:49:06 pgsql: Use $(MAKE) rather than make.
Previous Message Magnus Hagander 2011-02-04 14:25:13 pgsql: Attempt to un-break the documentation build again