Add output path arg in generate-lwlocknames.pl

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.

Reviewed-by: Peter Eisentraut <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f20506fe04092a9174bfc6dea908c3dfdbaaf1e

Modified Files
--------------
src/backend/storage/lmgr/generate-lwlocknames.pl | 14 ++++++++++----
src/tools/msvc/Solution.pm                       |  5 ++---
2 files changed, 12 insertions(+), 7 deletions(-)

Reply via email to