diff options
author | dundargoc <gocdundar@gmail.com> | 2023-10-17 16:57:57 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-10-18 11:18:38 +0200 |
commit | 831d662ac6756cab4fed6a9b394e68933b5fe325 (patch) | |
tree | 6b8be4e7e680b60dfb92ee4f55fa208e0342e180 | |
parent | eadedfd9084c338a9162ef3706756bda443d6559 (diff) | |
download | rneovim-831d662ac6756cab4fed6a9b394e68933b5fe325.tar.gz rneovim-831d662ac6756cab4fed6a9b394e68933b5fe325.tar.bz2 rneovim-831d662ac6756cab4fed6a9b394e68933b5fe325.zip |
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.
-rw-r--r-- | src/nvim/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 127d9cf5af..839764121c 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -942,7 +942,7 @@ add_custom_command( WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} ) -add_custom_target(doc - DEPENDS ${VIMDOC_FILES} ${GEN_EVAL_FILES} -) - +add_custom_target(doc-eval DEPENDS ${GEN_EVAL_FILES}) +add_custom_target(doc-vim DEPENDS ${VIMDOC_FILES}) +add_custom_target(doc) +add_dependencies(doc doc-vim doc-eval) |