diff --git a/docs/meson.build b/docs/meson.build index 55ba7c83..6e2c72c7 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -12,7 +12,7 @@ if pandoc.found() output: manpage, capture: true, install: true, - install_dir: join_paths(get_option('mandir'), 'man' + s) + install_dir: join_paths(get_option('mandir'), 'man' + s.split('.')[-1]) ) endforeach endif