Skip to content

Commit 72a0907

Browse files
czurniedensjaeckel
authored andcommitted
addition of a man-page
1 parent 111afcc commit 72a0907

File tree

2 files changed

+1705
-0
lines changed

2 files changed

+1705
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,14 @@ write_basic_package_version_file(
174174
COMPATIBILITY SameMajorVersion
175175
)
176176

177+
# Windows uses a different help sytem.
178+
if((NOT WIN32) AND (NOT CMAKE_HOST_WIN32))
179+
# install manpage (not gzipped, some BSD's do not want it compressed?)
180+
install(FILES ${CMAKE_SOURCE_DIR}/doc/tommath.3
181+
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/
182+
)
183+
endif()
184+
177185
# install version file
178186
install(FILES ${PROJECT_VERSION_FILE}
179187
DESTINATION ${CONFIG_INSTALL_DIR}

0 commit comments

Comments
 (0)