mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
GenerateHelptags: Use ${PREFIX} variable
This commit is contained in:
parent
62ede403f0
commit
37be21fdee
@ -1,12 +1,6 @@
|
||||
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()
|
||||
file(TO_CMAKE_PATH
|
||||
"${PREFIX}/share/nvim/runtime/doc"
|
||||
HELPTAGS_WORKING_DIRECTORY)
|
||||
|
||||
message(STATUS "Generating helptags in ${HELPTAGS_WORKING_DIRECTORY}.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user