- install target: included man pages and rc files
This commit is contained in:
Federico Hernandez 2011-01-04 23:26:35 +01:00
parent 86f778f504
commit 198e69f8d1
2 changed files with 13 additions and 0 deletions

View file

@ -56,4 +56,5 @@ configure_file (
${CMAKE_SOURCE_DIR}/auto.h)
add_subdirectory (src)
add_subdirectory (doc)
add_subdirectory (test EXCLUDE_FROM_ALL)

View file

@ -0,0 +1,12 @@
#set (man5_FILES taskrc.5 task-color.5 task-faq.5 task-sync.5 task-tutorial.5)
#set (man5_DIR share/man/man5)
#foreach (man_FILE ${man5_FILES})
# install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/man/${man_FILE} DESTINATION ${man5_DIR})
#endforeach (man_FILE)
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/man/ DESTINATION share/man/man1
FILES_MATCHING PATTERN "*.1")
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/man/ DESTINATION share/man/man5
FILES_MATCHING PATTERN "*.5")
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/rc DESTINATION share/doc/task)