16 lines
419 B
Meson
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
|