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(-)