pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Output dir and dependency generation for sql_help
Date: Mon, 18 Jul 2022 19:56:18 +0000
Message-ID: <E1oDWqn-000ADC-OA@gemulon.postgresql.org> (raw)

psql: Output dir and dependency generation for sql_help

This is in preparation for building postgres with meson / ninja.

When building with meson, commands are run at the root of the build tree. Add
an option to put build output into the appropriate place. This can be utilized
by src/tools/msvc/ for a minor simplification, which also provides some
coverage for the new option.

To deal with dependencies to the variable set of input files to this script,
add an option to generate a dependency file (which meson / ninja can consume).

Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7c3c2cb9aeda4f288e89b25ede8cc2fe5997ac98

Modified Files
--------------
src/bin/psql/Makefile       |  2 +-
src/bin/psql/create_help.pl | 44 +++++++++++++++++++++++++++++---------------
src/tools/msvc/Solution.pm  |  5 ++---
3 files changed, 32 insertions(+), 19 deletions(-)



Message-ID: <E1oDWqn-000ADC-OA@gemulon.postgresql.org>
Permalink:  ../E1oDWqn-000ADC-OA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oDWqn-000ADC-OA@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: andres@anarazel.de
  Subject: Re: pgsql: psql: Output dir and dependency generation for sql_help
  In-Reply-To: <E1oDWqn-000ADC-OA@gemulon.postgresql.org>
  References: <E1oDWqn-000ADC-OA@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