From 19a76366416acc7776d4a5e9d9b1d0492d2028e4 Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 29 Dec 2022 07:05:26 -0500 Subject: [PATCH] build: fix help tags generation when SHELL=fish (#21562) Fish doesn't support glob pattern, so we use `remove_directory` instead. --- runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"