mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07: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:
parent
e0d97d264f
commit
c1a05f6112
@ -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}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user