aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-06-22 13:56:16 -0700
committerNikolaus Rath <Nikolaus@rath.org>2017-06-22 14:21:33 -0700
commitb66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c (patch)
tree6babd156962b6e0a243399c98d68cb6cd7db93d2
parent9ac5829b899ded338d504f030690005014ca141e (diff)
downloadsshfs-b66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c.tar
sshfs-b66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c.tar.gz
sshfs-b66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c.tar.bz2
sshfs-b66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c.zip
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.
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 47762e6..df8f400 100644
--- a/meson.build
+++ b/meson.build
@@ -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'))