~pixelherodev/knightos

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] * Cmake: Allow specification of directory for Man installation

Details
Message ID
<20200208014859.85078-1-zachdecook@librem.one>
DKIM signature
missing
Download raw message
Patch: +4 -1
---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d48f68c..cf20162 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,10 @@ ADD_CUSTOM_COMMAND(
  OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/genkfs.1
)

if (NOT DEFINED CMAKE_INSTALL_MANDIR)
    set(CMAKE_INSTALL_MANDIR ${CMAKE_INSTALL_PREFIX}/share/man)
endif()
INSTALL(
    FILES ${CMAKE_CURRENT_BINARY_DIR}/genkfs.1
    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
    DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
)
-- 
2.25.0
Review patch Export thread (mbox)