diff options
| author | figsoda <figsoda@pm.me> | 2022-12-29 07:05:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-29 13:05:26 +0100 |
| commit | 19a76366416acc7776d4a5e9d9b1d0492d2028e4 (patch) | |
| tree | e31d67f8172b2458b398665aa5036cea95a6ac9f | |
| parent | b640161a694037299f44c26893bba22d17b6853f (diff) | |
| download | rneovim-19a76366416acc7776d4a5e9d9b1d0492d2028e4.tar.gz rneovim-19a76366416acc7776d4a5e9d9b1d0492d2028e4.tar.bz2 rneovim-19a76366416acc7776d4a5e9d9b1d0492d2028e4.zip | |
build: fix help tags generation when SHELL=fish (#21562)
Fish doesn't support glob pattern, so we use `remove_directory` instead.
| -rw-r--r-- | runtime/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 9aa0c5eac0..581a4545db 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -63,7 +63,7 @@ foreach(DF ${DOCFILES}) endforeach() add_custom_command(OUTPUT ${GENERATED_HELP_TAGS} - COMMAND ${CMAKE_COMMAND} -E remove doc/* + COMMAND ${CMAKE_COMMAND} -E remove_directory doc COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/runtime/doc doc COMMAND "${PROJECT_BINARY_DIR}/bin/nvim" |