mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01: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(
|
add_custom_command(
|
||||||
OUTPUT ${VIMDOC_FILES}
|
OUTPUT ${VIMDOC_FILES}
|
||||||
COMMAND ${PROJECT_SOURCE_DIR}/scripts/gen_vimdoc.py
|
COMMAND ${PROJECT_SOURCE_DIR}/scripts/gen_vimdoc.py
|
||||||
DEPENDS ${API_SOURCES} ${LUA_SOURCES}
|
DEPENDS
|
||||||
|
nvim
|
||||||
|
${API_SOURCES}
|
||||||
|
${LUA_SOURCES}
|
||||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user