mirror of
https://github.com/louisrubet/rpn
synced 2024-12-26 09:58:55 +01:00
#211: moved rpn.1
This commit is contained in:
parent
7cfa131511
commit
51c49c1aed
4 changed files with 3 additions and 3 deletions
|
@ -56,13 +56,13 @@ target_link_libraries(rpn mpfr)
|
|||
add_custom_target(man ALL)
|
||||
add_custom_command(
|
||||
TARGET man
|
||||
COMMAND gzip -f -k ${CMAKE_CURRENT_SOURCE_DIR}/rpn.1
|
||||
OUTPUTS ${CMAKE_CURRENT_SOURCE_DIR}/rpn.1.gz
|
||||
COMMAND gzip -f -k ${CMAKE_CURRENT_SOURCE_DIR}/doc/rpn.1
|
||||
OUTPUTS ${CMAKE_CURRENT_SOURCE_DIR}/doc/rpn.1.gz
|
||||
)
|
||||
|
||||
# install
|
||||
install(TARGETS rpn DESTINATION bin)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/rpn.1.gz DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/rpn.1.gz DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
|
||||
|
||||
# packages (common variables for all packages)
|
||||
SET(CPACK_PACKAGE_NAME ${RPN_DISPLAY_NAME})
|
||||
|
|
Loading…
Reference in a new issue