Files
buffybox/man/meson.build
2024-09-26 13:40:50 +03:00

22 lines
458 B
Meson

progscdoc = depscdoc.get_variable(pkgconfig: 'scdoc')
foreach file : [
'buffyboard.1',
'buffyboard.conf.5',
'unl0kr.1',
'unl0kr.conf.5'
]
section = file.split('.')[-1]
custom_target(file,
command: progscdoc,
feed: true,
capture: true,
input: file + '.scd',
output: file,
install: true,
install_dir: get_option('mandir') / 'man' + section
)
endforeach