mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
build: add sub-targets to the doc target
It's easier to debug and to customize scripting if there are sub-targets that build up each target.
This commit is contained in:
parent
eadedfd908
commit
831d662ac6
@ -942,7 +942,7 @@ add_custom_command(
|
|||||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(doc
|
add_custom_target(doc-eval DEPENDS ${GEN_EVAL_FILES})
|
||||||
DEPENDS ${VIMDOC_FILES} ${GEN_EVAL_FILES}
|
add_custom_target(doc-vim DEPENDS ${VIMDOC_FILES})
|
||||||
)
|
add_custom_target(doc)
|
||||||
|
add_dependencies(doc doc-vim doc-eval)
|
||||||
|
Loading…
Reference in New Issue
Block a user