Commit c3633be7 authored by Anastasia Karachaliou's avatar Anastasia Karachaliou
Browse files

Added man files in the rpms for rmcd and smc

parent 2953eca5
......@@ -299,6 +299,9 @@ Tools to faciliate working with rmc and smc in cta
%files -n cta-rmc
%attr(0755,root,root) %{_bindir}/rmcd
%attr(0755,root,root) %{_bindir}/smc
%attr(0644,root,root) %doc /usr/share/man/man1/rmcd.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/smc.1cta.gz
#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/rmcd.conf.example
#%package -n cta-smc
#Summary: Tools to faciliate working with smc in cta
......
......@@ -31,8 +31,12 @@ set (RMCD_SRC_FILES
add_executable(rmcd ${RMCD_SRC_FILES})
target_link_libraries(rmcd ctarmccommon)
#install (FILES rmcd.conf.example
# DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta
# PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
install (TARGETS rmcd DESTINATION /usr/bin)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/rmcd.1cta DESTINATION /usr/share/man/man1)
set (SMC_SRC_FILES
rmc_dismount.c
......@@ -48,3 +52,4 @@ set (SMC_SRC_FILES
add_executable(smc ${SMC_SRC_FILES})
target_link_libraries(smc ctarmccommon)
install (TARGETS smc DESTINATION /usr/bin)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/smc.1cta DESTINATION /usr/share/man/man1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment