Group :: Games/Strategy
RPM: openxcom
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: openxcom-man6.patch
Download
Download
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 172b383a1..b57cf13a5 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -35,3 +35,8 @@ if ( NOT ( DOXYGEN_EXECUTABLE MATCHES "NOTFOUND" ) )
else ()
message ( "No doxygen command found. Disable API documentation generation" )
endif ()
+
+# Only useful for make install/package under *nix OSes, but not macOS.
+if ( UNIX AND NOT APPLE )
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openxcom.6 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
+endif ()