diff --git a/cta.spec.in b/cta.spec.in index 1ff6e14032c457219b39c77aee788705c909f547..72fda5043409a44209cac140b5744cf6e6953afa 100644 --- a/cta.spec.in +++ b/cta.spec.in @@ -131,6 +131,7 @@ The tape server daemon %defattr(-,root,root) %attr(0755,root,root) %{_bindir}/cta-taped %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta.conf.example +%attr(0644,root,bin) %doc /usr/share/man/man1/cta-taped.1cta.gz %package -n cta-frontend Summary: CERN Tape Archive: Xrootd plugin diff --git a/tapeserver/CMakeLists.txt b/tapeserver/CMakeLists.txt index d7aad618c080419b7245655ee20df7982d410cb6..bb76dba89c86f6725434eabfa87316c25faad7c0 100644 --- a/tapeserver/CMakeLists.txt +++ b/tapeserver/CMakeLists.txt @@ -13,6 +13,7 @@ add_executable (cta-taped cta-taped.cpp) target_link_libraries(cta-taped ctatapedaemon ctacommon protobuf) install (TARGETS cta-taped DESTINATION usr/bin) +install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/cta-taped.1cta DESTINATION /usr/share/man/man1) # CTA's cta-taped system tests. add_library(cta-tapedSystemTests SHARED diff --git a/tapeserver/cta-taped.man b/tapeserver/cta-taped.1cta similarity index 100% rename from tapeserver/cta-taped.man rename to tapeserver/cta-taped.1cta