Fix Meson manpage install

Without this, Meson is looking for sshfs.1 in the source
directory. However, since that is a generated file it is in the build
directory.
This commit is contained in:
Nikolaus Rath 2017-06-22 13:56:16 -07:00
parent 9ac5829b89
commit b66ecb9c3a
1 changed files with 3 additions and 1 deletions

View File

@ -56,4 +56,6 @@ executable('sshfs', sshfs_sources,
install: true,
install_dir: get_option('bindir'))
install_man('sshfs.1')
# This is a little ugly. Is there a better way to tell Meson that the
# manpage is in the build directory?
install_man(join_paths(meson.current_build_dir(), 'sshfs.1'))