spice-gtk/man/meson.build
Antoine Jacoutot c355bc02e3 Install man pages under mandir.
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-04-04 21:10:15 +01:00

12 lines
407 B
Meson

pod2man = find_program('pod2man')
if pod2man.found()
custom_target('spice-client.1',
output : 'spice-client.1',
input : 'spice-client.pod',
install : true,
install_dir : get_option('prefix') / get_option('mandir') / 'man1',
build_by_default : true,
command : [pod2man, '-c', 'Spice-GTK Documentation', '@INPUT@', '@OUTPUT@'])
endif