You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
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.
16 lines
575 B
Meson
16 lines
575 B
Meson
####################################################################################################################################
|
|
# Generate PostgreSQL interfaces
|
|
####################################################################################################################################
|
|
interface_auto_c_inc = custom_target(
|
|
'interface.auto.c.inc',
|
|
output : 'interface.auto.c.inc',
|
|
depend_files: [
|
|
'../build/postgres/postgres.yaml',
|
|
],
|
|
command : [
|
|
build_code,
|
|
'postgres',
|
|
'@CURRENT_SOURCE_DIR@/../..',
|
|
],
|
|
)
|