BastionGuard/thirdparty/bastionguard-backup/docs/man/meson.build
specialworld83 f0f913a209 Release 2.0
2026-07-15 10:52:22 +02:00

16 lines
419 B
Meson

help2man = find_program('help2man')
mans = [
['bastionguard-backup', [help2man, '-N', '--output=@OUTPUT@', bastionguard_backup]],
['bastionguard-backup-gtk', [help2man, '-N', '--output=@OUTPUT@', bastionguard_backup_gtk]],
]
foreach man: mans
custom_target(
man[0],
output: man[0] + '.1',
command: man[1],
install: true,
install_dir: join_paths(get_option('mandir'), 'man1'),
)
endforeach