pkgconf/man/meson.build

23 lines
435 B
Meson
Raw Normal View History

manpages = {
'pc': 5,
'pkgconf': 1
}
foreach page, section : manpages
name = '@0@.@1@'.format(page, section)
input = name + '.scd'
tgt = custom_target(
input,
input: files(input),
output: name,
capture: true,
feed: true,
command: scdoc,
install: true,
install_dir: get_option('mandir') / 'man@0@'.format(section),
)
endforeach
install_man('pkg.m4.7')
install_man('pkgconf-personality.5')