Skip to content

Commit

Permalink
Merge pull request #559 from czurnieden/manpage
Browse files Browse the repository at this point in the history
Addition of a man-page
  • Loading branch information
sjaeckel committed Jun 21, 2023
2 parents 111afcc + e762449 commit 38bb369
Show file tree
Hide file tree
Showing 6 changed files with 1,785 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ write_basic_package_version_file(
COMPATIBILITY SameMajorVersion
)

# Windows uses a different help sytem.
if((NOT WIN32) AND (NOT CMAKE_HOST_WIN32))
# install manpage (not gzipped, some BSD's do not want it compressed?)
install(FILES ${CMAKE_SOURCE_DIR}/doc/tommath.3
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/
)
endif()

# install version file
install(FILES ${PROJECT_VERSION_FILE}
DESTINATION ${CONFIG_INSTALL_DIR}
Expand Down
Loading

0 comments on commit 38bb369

Please sign in to comment.