mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
GenerateHelptags: check whether DESTDIR exists
This commit is contained in:
parent
5a52bcfa22
commit
973fc5c66b
@ -1,6 +1,12 @@
|
||||
if(ENV{DESTDIR})
|
||||
file(TO_CMAKE_PATH
|
||||
"$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/nvim/runtime/doc"
|
||||
HELPTAGS_WORKING_DIRECTORY)
|
||||
else()
|
||||
file(TO_CMAKE_PATH
|
||||
"${CMAKE_INSTALL_PREFIX}/share/nvim/runtime/doc"
|
||||
HELPTAGS_WORKING_DIRECTORY)
|
||||
endif()
|
||||
|
||||
message(STATUS "Generating helptags in ${HELPTAGS_WORKING_DIRECTORY}.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user