Debian Codegraph @

contrib/basebackup_to_shell/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 basebackup_to_shell_sources = files(
4 'basebackup_to_shell.c',
5 )
6
7 if host_system == 'windows'
8 basebackup_to_shell_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'basebackup_to_shell',
10 '--FILEDESC', 'basebackup_to_shell - target basebackup to shell command',])
11 endif
12
13 basebackup_to_shell = shared_module('basebackup_to_shell',
14 basebackup_to_shell_sources,
15 kwargs: contrib_mod_args,
16 )
17 contrib_targets += basebackup_to_shell
18
19 tests += {
20 'name': 'basebackup_to_shell',
21 'sd': meson.current_source_dir(),
22 'bd': meson.current_build_dir(),
23 'tap': {
24 'tests': [
25 't/001_basic.pl',
26 ],
27 'env': {'GZIP_PROGRAM': gzip.found() ? gzip.path() : '',
28 'TAR': tar.found() ? tar.path() : '' },
29 },
30 }