pgsql: psql: Output dir and dependency generation for sql_help - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: psql: Output dir and dependency generation for sql_help
Date
Msg-id E1oDWqn-000ADC-OA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Re-add SPICleanup for ABI compatibility in stable branch
Next
From: Andres Freund
Date:
Subject: Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*.