pgsql: Dynamically find correct installation docs in Makefile.

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Dynamically find correct installation docs in Makefile.
Date: 2022-01-19 13:50:14
Message-ID: E1nABLq-0003YP-MJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Dynamically find correct installation docs in Makefile.

The base Makefile will output help to the user when invoking make in
an unconfigured tree, the help was however always referring to a file
which may not be present as it's only in tarballs. Dynamically check
for the presence of the INSTALL file and fall back on README.git when
it's not available (which is the case of Git checkouts).

Reported-by: Tim McNamara <tim(at)mcnamara(dot)nz>
Reviewed-by: Magnus Hagander <magnus(at)hagander(dot)net>
Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/730dae39-abaa-4140-893b-95d732fed003@www.fastmail.com

Branch
------
master

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

Modified Files
--------------
Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-01-19 17:37:04 pgsql: Don't enable fsync in src/test/recovery/t/008_fsm_truncation.pl.
Previous Message Robert Haas 2022-01-19 13:16:17 Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back