pgsql: Reduce worst-case shell command line length during "make install

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reduce worst-case shell command line length during "make install
Date: 2018-04-08 19:08:37
Message-ID: E1f5Fg5-0006x6-7L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reduce worst-case shell command line length during "make install".

Addition of the catalog/pg_foo_d.h headers seems to have pushed us over
the brink of the maximum command line length for some older platforms
during "make install" for our header files. The main culprit here is
repetition of the target directory path, which could be long.
Rearrange so that we don't repeat that once per file, but only once
per subdirectory.

Per buildfarm.

Discussion: https://postgr.es/m/E1f5Dwm-0004n5-7O@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cca563f38422f2a7c6c56f162efe2689bf1c7697

Modified Files
--------------
src/include/Makefile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-04-08 19:55:56 pgsql: Cosmetic cleanups in initial catalog data.
Previous Message Tom Lane 2018-04-08 18:39:11 Re: pgsql: Replace our traditional initial-catalog-data format with a bette