Add output path arg in generate-lwlocknames.pl

Andres Freund <andres@anarazel.de>

Commit: 4f20506fe04092a9174bfc6dea908c3dfdbaaf1e
Author: Andres Freund <andres@anarazel.de>
Date: 2022-07-18T19:24:32Z
Releases: 16.0
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 <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com

Files

Discussion