commit c1a05f61122de6e4b78371b8bfc08914eccffed5
parent e0d97d264f83d45472e6cdd1051893db1083eefb
Author: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Date: Thu, 2 Nov 2023 12:34:16 -0700
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.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
@@ -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}
)