pgsql: meson: Fix installation path computation

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Fix installation path computation
Date: 2023-01-27 10:58:09
Message-ID: E1pLMQp-000ApI-Uj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Fix installation path computation

We have the long-standing logic to append "postgresql" to some
installation paths if it does not already contain "pgsql" or
"postgres". The existing meson implementation of that only considered
the subdirectory under the prefix, not the prefix itself. Fix that,
so that it now works the same way as the implementation in
Makefile.global.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/a6a6de12-f705-2b33-2fd9-9743277deb08@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f6858064b1442f9ad057d289b0e4f018a2ad8aa

Modified Files
--------------
meson.build | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2023-01-27 13:27:40 Re: pgsql: Adjust interaction of CREATEROLE with role properties.
Previous Message Peter Eisentraut 2023-01-27 07:47:06 pgsql: doc: Adjust a few more references to "postmaster"