You've already forked pgbackrest
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:
@ -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@/../..',
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user