summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-08-14 13:18:51 +0200
committerMax Kellermann <max@musicpd.org>2020-08-14 13:18:52 +0200
commit4c93165a67644e7b2f10daf49a52e6e3075e3f1d (patch)
treef7d08003044488c57037ce9d91c3259da32e06e3
parent5f63ffd86cdd27ee98b4451f6445889e1efb3fb5 (diff)
doc/meson.build: use install_man()
-rw-r--r--doc/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 06b66e557..8f85672d7 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -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