pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Dynamically find correct installation docs in Makefile.
Date: Wed, 19 Jan 2022 13:50:14 +0000
Message-ID: <E1nABLq-0003YP-MJ@gemulon.postgresql.org> (raw)

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@mcnamara.nz>
Reviewed-by: Magnus Hagander <magnus@hagander.net>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.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(-)



Message-ID: <E1nABLq-0003YP-MJ@gemulon.postgresql.org>
Permalink:  ../E1nABLq-0003YP-MJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nABLq-0003YP-MJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: Dynamically find correct installation docs in Makefile.
  In-Reply-To: <E1nABLq-0003YP-MJ@gemulon.postgresql.org>
  References: <E1nABLq-0003YP-MJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox