Skip to content

Commit c8d585b

Browse files
committed
Install man pages for caf and cafrun
1 parent c124026 commit c8d585b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,14 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}/
432432
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
433433
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
434434

435+
#-----------------
436+
# Install manpages
437+
#-----------------
438+
install(FILES "${CMAKE_SOURCE_DIR}/doc/man/man1/caf.1" "${CMAKE_SOURCE_DIR}/doc/man/man1/cafrun.1"
439+
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
440+
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
441+
COMPONENT documentation)
442+
435443
#---------------------------------------------------
436444
# Define macro for compiling with caf wrapper script
437445
#---------------------------------------------------

0 commit comments

Comments
 (0)