From eab8b998e9a964cbb72abb8dedb718326a8093e1 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 27 Jun 2022 10:02:02 +0200 Subject: [PATCH] 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/. --- CMakeLists.txt | 4 ++-- contrib/luarc.json | 1 + {man => src/man}/Makefile | 0 {man => src/man}/nvim.1 | 0 4 files changed, 3 insertions(+), 2 deletions(-) rename {man => src/man}/Makefile (100%) rename {man => src/man}/nvim.1 (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 097ef041ea..8434a8824c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -444,7 +444,7 @@ if(TS_HAS_SET_ALLOCATOR) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNVIM_TS_HAS_SET_ALLOCATOR") 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) if(PREFER_LUA) @@ -641,7 +641,7 @@ endif() include(InstallHelpers) install_helper( - FILES ${CMAKE_SOURCE_DIR}/man/nvim.1 + FILES ${CMAKE_SOURCE_DIR}/src/man/nvim.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) # diff --git a/contrib/luarc.json b/contrib/luarc.json index 770b023ac6..8d76d1261d 100644 --- a/contrib/luarc.json +++ b/contrib/luarc.json @@ -5,6 +5,7 @@ "globals": [ "vim", "describe", + "pending", "it", "before_each", "after_each", diff --git a/man/Makefile b/src/man/Makefile similarity index 100% rename from man/Makefile rename to src/man/Makefile diff --git a/man/nvim.1 b/src/man/nvim.1 similarity index 100% rename from man/nvim.1 rename to src/man/nvim.1