mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
build: make the vimdoc generation depend on the nvim target (#25876)
The gen_vimdoc.py script uses the nvim executable, so the executable must be built before running the script.
This commit is contained in:
@ -913,7 +913,10 @@ glob_wrapper(LUA_SOURCES
|
||||
add_custom_command(
|
||||
OUTPUT ${VIMDOC_FILES}
|
||||
COMMAND ${PROJECT_SOURCE_DIR}/scripts/gen_vimdoc.py
|
||||
DEPENDS ${API_SOURCES} ${LUA_SOURCES}
|
||||
DEPENDS
|
||||
nvim
|
||||
${API_SOURCES}
|
||||
${LUA_SOURCES}
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user