mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Use CMake's variable instead of hardcoded path to install man pages
This commit is contained in:
parent
8e8d9f39cb
commit
5a18b8de77
@ -55,6 +55,6 @@ install(TARGETS keepassxc-cli
|
||||
RUNTIME DESTINATION ${CLI_INSTALL_DIR} COMPONENT Runtime)
|
||||
|
||||
if(APPLE OR UNIX)
|
||||
install(FILES keepassxc-cli.1 DESTINATION /usr/local/share/man/man1/)
|
||||
install(FILES keepassxc-cli.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
|
||||
execute_process(COMMAND mandb -q)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user