Install manpage in man1/, not 1/

Fixes: #95.
This commit is contained in:
Nikolaus Rath 2017-09-22 10:35:52 +01:00
parent 7c2550a7e4
commit a73dda48bd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Unreleased Changes
------------------
* Manpage is now installed in correct directory.
SSHFS 3.3.0 (2017-09-20)
------------------------

View File

@ -58,7 +58,7 @@ executable('sshfs', sshfs_sources,
if rst2man.found()
custom_target('manpages', input: [ 'sshfs.rst' ], output: [ 'sshfs.1' ],
command: [rst2man, '@INPUT@', '@OUTPUT@'], install: true,
install_dir: join_paths(get_option('mandir'), '1'))
install_dir: join_paths(get_option('mandir'), 'man1'))
else
message('rst2man not found, not building manual page.')
endif