- the version number in the man pages is now set automatically via
  the ${PACKAGE_STRING} cmake variable
This commit is contained in:
Federico Hernandez
2011-01-05 22:46:25 +01:00
parent 86eef4c184
commit 70a83dad4d
9 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +1,11 @@
message ("-- Configuring man pages")
set (man_FILES task-color.5 task-faq.5 task-sync.5 task-tutorial.5 task.1 taskrc.5)
foreach (man_FILE ${man_FILES})
configure_file (
man/${man_FILE}.in
man/${man_FILE})
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