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 b13abaef12
commit 7ad9156d4d
+3 -1
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'))