Skip to content

Commit 38bb369

Browse files
authored
Merge pull request #559 from czurnieden/manpage
Addition of a man-page
2 parents 111afcc + e762449 commit 38bb369

File tree

6 files changed

+1785
-9
lines changed

6 files changed

+1785
-9
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)