diff options
author | dundargoc <gocdundar@gmail.com> | 2024-01-27 19:10:41 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-02-01 12:06:55 +0100 |
commit | 4c91194611086916c833d61e28e2f5e689316e83 (patch) | |
tree | b338025023370b019e7d766ecb66d792cc1eba77 /runtime | |
parent | cc197d04fc36a6ee4219f20772a7b39dd976edfd (diff) | |
download | rneovim-4c91194611086916c833d61e28e2f5e689316e83.tar.gz rneovim-4c91194611086916c833d61e28e2f5e689316e83.tar.bz2 rneovim-4c91194611086916c833d61e28e2f5e689316e83.zip |
build: various fixes
- Consistently use the variable CMAKE_BUILD_TYPE to select build type.
- Remove broken `doc_html` target.
- Remove swap files created by oldtest when cleaning.
- Only rerun `lintdoc` if any documentation files has changed.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/CMakeLists.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 0dbf646702..c171fab9e9 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -55,8 +55,6 @@ foreach(PACKAGE ${PACKAGES}) endif() endforeach() -file(GLOB DOCFILES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/runtime/doc/*.txt) - set(BUILDDOCFILES) foreach(DF ${DOCFILES}) get_filename_component(F ${DF} NAME) @@ -75,15 +73,6 @@ add_custom_command(OUTPUT ${GENERATED_HELP_TAGS} WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}" ) -# TODO: This doesn't work. wait for "nvim -l" to land? -add_custom_target(doc_html - COMMAND $<TARGET_FILE:nvim_bin> - -V1 -es --clean -c "lua require('scripts.gen_help_html').gen('./build/runtime/doc', './build/doc_html', nil, 'todo_commit_id')" -c "0cq" - DEPENDS - ${GENERATED_HELP_TAGS} - WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}/doc" -) - add_custom_target( nvim_runtime DEPENDS |