1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Unify code builder binaries into a single binary.

Creating new binaries was convenient at first but has now become a maintenance issue.

Solve this by combining that into a single binary that takes an additional parameter to indicate which code should be built.

Also clean up path handling to make it easier to build code from the command line.
This commit is contained in:
David Steele
2022-07-20 17:45:39 -04:00
parent 7eb5d67985
commit c625f05a13
23 changed files with 100 additions and 329 deletions

View File

@ -8,7 +8,8 @@ interface_auto_c_inc = custom_target(
'../build/postgres/postgres.yaml',
],
command : [
build_postgres,
'@CURRENT_SOURCE_DIR@/../..'
build_code,
'postgres',
'@CURRENT_SOURCE_DIR@/../..',
],
)