doc/meson.build: use install_man()

This commit is contained in:
Max Kellermann 2020-08-14 13:18:51 +02:00
parent 5f63ffd86c
commit 4c93165a67
1 changed files with 2 additions and 2 deletions

View File

@ -47,6 +47,6 @@ if get_option('manpages')
build_by_default: true,
)
install_data(join_paths(manpages.full_path(), 'mpd.1'), install_dir: join_paths(get_option('mandir'), 'man1'))
install_data(join_paths(manpages.full_path(), 'mpd.conf.5'), install_dir: join_paths(get_option('mandir'), 'man5'))
install_man(join_paths(manpages.full_path(), 'mpd.1'),
join_paths(manpages.full_path(), 'mpd.conf.5'))
endif