build: move man/ to src/man/ #19119

Problem:
man/ contains source files for manpage generation, it doesn't need to
live at the project root.

Solution:
Move it to src/man/.
This commit is contained in:
Justin M. Keyes 2022-06-27 10:02:02 +02:00 committed by GitHub
parent 8c2b870544
commit eab8b998e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 2 deletions

View File

@ -444,7 +444,7 @@ if(TS_HAS_SET_ALLOCATOR)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNVIM_TS_HAS_SET_ALLOCATOR") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNVIM_TS_HAS_SET_ALLOCATOR")
endif() endif()
# Note: The test lib requires LuaJIT; it will be skipped if LuaJIT is missing. # The unit test lib requires LuaJIT; it will be skipped if LuaJIT is missing.
option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF) option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF)
if(PREFER_LUA) if(PREFER_LUA)
@ -641,7 +641,7 @@ endif()
include(InstallHelpers) include(InstallHelpers)
install_helper( install_helper(
FILES ${CMAKE_SOURCE_DIR}/man/nvim.1 FILES ${CMAKE_SOURCE_DIR}/src/man/nvim.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
# #

View File

@ -5,6 +5,7 @@
"globals": [ "globals": [
"vim", "vim",
"describe", "describe",
"pending",
"it", "it",
"before_each", "before_each",
"after_each", "after_each",