Skip to content

Commit

Permalink
build: make the vimdoc generation depend on the nvim target (neovim#2…
Browse files Browse the repository at this point in the history
…5876)

The gen_vimdoc.py script uses the nvim executable, so the executable
must be built before running the script.
  • Loading branch information
gpanders authored Nov 2, 2023
1 parent e0d97d2 commit c1a05f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nvim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)

Expand Down

0 comments on commit c1a05f6

Please sign in to comment.