From cbda7d85f867d3786d7f2cc7dd5e22c3575285a4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 18 Jun 2016 11:45:52 -0400 Subject: [PATCH] build: Revert 464bc16. This was more trouble than it is worth: - remove_directory fails if doc/ is not owned by the user - some devs build in-tree, then deleting doc/ breaks the build - `make install` isn't affected by the stale files at all: the tags are built before install-time So, reverting this change means only that devs who use a build/ directory will need to delete build/runtime/doc/ on the occasion that we rename a doc file. --- runtime/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index a30bae388d..a9de7557e4 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -27,7 +27,6 @@ foreach(DF ${DOCFILES}) endforeach() add_custom_target(helptags - COMMAND ${CMAKE_COMMAND} -E remove_directory ${GENERATED_RUNTIME_DIR}/doc COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/runtime/doc ${GENERATED_RUNTIME_DIR}/doc COMMAND "${PROJECT_BINARY_DIR}/bin/nvim"