Merge pull request #423 from orbea/man

meson: Respect mandir.
This commit is contained in:
yshui 2020-06-06 15:12:18 +01:00 committed by GitHub
commit 38b9d41f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ if get_option('with_docs')
'picom-version='+version, 'picom-version='+version,
'--format', 'manpage', '@INPUT@', '-D', '--format', 'manpage', '@INPUT@', '-D',
meson.current_build_dir()], meson.current_build_dir()],
install: true, install_dir: 'share/man/man1/') install: true,
install_dir: join_paths(get_option('mandir'), 'man1'))
endforeach endforeach
endif endif