#211: moved rpn.1

This commit is contained in:
Louis Rubet 2018-08-12 11:34:33 +02:00
parent 7cfa131511
commit 51c49c1aed
4 changed files with 3 additions and 3 deletions

View file

@ -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})

View file