- 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

6
doc/man/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
task-color.5
task-faq.5
task-sync.5
task-tutorial.5
task.1
taskrc.5

View file

@ -1,4 +1,4 @@
.TH task-color 5 2010-11-08 "task 1.9.4" "User Manuals"
.TH task-color 5 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-color \- A color tutorial for the task(1) command line todo manager.

View file

@ -1,4 +1,4 @@
.TH task-faq 5 2010-11-08 "task 1.9.4" "User Manuals"
.TH task-faq 5 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-faq \- A FAQ for the task(1) command line todo manager.

View file

@ -1,4 +1,4 @@
.TH task-sync 5 2010-11-08 "task 1.9.4" "User Manuals"
.TH task-sync 5 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-sync \- A tutorial for the task(1) data synchronization capabilities.

View file

@ -1,4 +1,4 @@
.TH task-tutorial 5 2010-11-08 "task 1.9.4" "User Manuals"
.TH task-tutorial 5 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-tutorial \- A tutorial for the task(1) command line todo manager.

View file

@ -1,4 +1,4 @@
.TH task 1 2010-11-08 "task 1.9.4" "User Manuals"
.TH task 1 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task \- A command line todo manager.

View file

@ -1,4 +1,4 @@
.TH taskrc 5 2010-11-08 "task 1.9.4" "User Manuals"
.TH taskrc 5 2010-11-08 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
taskrc \- Configuration file for the task(1) command