Set date in man pages to cmake generation date

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-02-16 15:54:17 +01:00
parent e53e92f448
commit cf045bc762
40 changed files with 43 additions and 41 deletions

View file

@ -26,6 +26,7 @@ set (PACKAGE_NAME "${PACKAGE}")
set (PACKAGE_TARNAME "${PACKAGE}")
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
string (TIMESTAMP PACKAGE_DATE "%Y-%m-%d")
if (FREEBSD OR DRAGONFLY)
SET (TIMEW_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")

View file

@ -1,4 +1,4 @@
.TH timew-annotate 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-annotate 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-annotate \- add an annotation to intervals

View file

@ -1,4 +1,4 @@
.TH timew-cancel 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-cancel 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-cancel \- cancel time tracking

View file

@ -1,4 +1,4 @@
.TH timew-config 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-config 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-config \- get and set Timewarrior configuration

View file

@ -1,10 +1,10 @@
.TH timew-config 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-config 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-config \- Timewarrior configuration file an override options
.
.SH SYNOPSIS
.B timew rc.<name>=<value> <command>
.BI "timew rc." <name> = "<value> <command>"
.
.SH DESCRIPTION
Timewarrior stores its configuration in a file in the user's home directory:

View file

@ -1,4 +1,4 @@
.TH timew-continue 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-continue 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-continue \- resume tracking of existing interval

View file

@ -1,4 +1,4 @@
.TH timew-dates 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-dates 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-dates \- date formats supported by Timewarrior

View file

@ -1,4 +1,4 @@
.TH timew-day 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-day 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-day \- display day chart

View file

@ -1,4 +1,4 @@
.TH timew-delete 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-delete 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-delete \- delete intervals

View file

@ -1,4 +1,4 @@
.TH timew-diagnostics 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-diagnostics 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-diagnostics \- show diagnostic information

View file

@ -1,4 +1,4 @@
.TH timew-dom 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-dom 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-dom \- Timewarrior DOM

View file

@ -1,4 +1,4 @@
.TH timew-durations 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-durations 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-durations \- duration formats supported by Timewarrior

View file

@ -1,4 +1,4 @@
.TH timew-export 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-export 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-export \- export tracked time in JSON

View file

@ -1,4 +1,4 @@
.TH timew-extensions 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-extensions 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-extension \- list available extensions

View file

@ -1,4 +1,4 @@
.TH timew-fill 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-fill 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-fill \- adjust intervals to fill in surrounding gaps

View file

@ -1,4 +1,4 @@
.TH timew-gaps 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-gaps 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-gaps \- display time tracking gaps

View file

@ -1,4 +1,4 @@
.TH timew-get 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-get 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-get \- display DOM values

View file

@ -1,4 +1,4 @@
.TH timew-help 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-help 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-help \- display help

View file

@ -1,4 +1,4 @@
.TH timew-hints 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-hints 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-hints \- Timewarrior hints

View file

@ -1,4 +1,4 @@
.TH timew-join 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-join 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-join \- join intervals

View file

@ -1,4 +1,4 @@
.TH timew-lengthen 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-lengthen 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-lengthen \- lengthen intervals

View file

@ -1,4 +1,4 @@
.TH timew-modify 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-modify 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-modify \- change start or end date of an interval
@ -25,7 +25,7 @@ For example, show the IDs:
.PP
Then having selected '@3' as the interval you wish to modify:
.
$ timew modify end @3 2018-02-03T17:00:00
$ timew modify end @3 "${PACKAGE_DATE}"T17:00:00
.
.SH "SEE ALSO"
.BR timew-lengthen (1),

View file

@ -1,4 +1,4 @@
.TH timew-month 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-month 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-month \- display month chart

View file

@ -1,4 +1,4 @@
.TH timew-move 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-move 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-move \- change interval start-time

View file

@ -1,7 +1,8 @@
.TH timew-ranges 7 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-ranges 7 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-ranges \- date and time ranges supported by Timewarrior
.
.SH SYNOPSIS
.
.SH DESCRIPTION

View file

@ -1,4 +1,4 @@
.TH timew-report 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-report 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-report \- run an extension report

View file

@ -1,4 +1,4 @@
.TH timew-resize 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-resize 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-resize \- set interval duration

View file

@ -1,4 +1,4 @@
.TH timew-shorten 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-shorten 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-shorten \- shorten intervals

View file

@ -1,4 +1,4 @@
.TH timew-show 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-show 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-show \- display configuration

View file

@ -1,4 +1,4 @@
.TH timew-split 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-split 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-split \- split intervals

View file

@ -1,4 +1,4 @@
.TH timew-start 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-start 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-start \- start time tracking

View file

@ -1,4 +1,4 @@
.TH timew-stop 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-stop 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-stop \- stop time tracking

View file

@ -1,4 +1,4 @@
.TH timew-summary 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-summary 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-summary \- display a time-tracking summary

View file

@ -1,4 +1,4 @@
.TH timew-tag 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-tag 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-tag \- add tags to intervals

View file

@ -1,4 +1,4 @@
.TH timew-tags 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-tags 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-tags \- display a list of tags

View file

@ -1,4 +1,4 @@
.TH timew-track 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-track 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-track \- add intervals to the database

View file

@ -1,4 +1,4 @@
.TH timew-undo 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-undo 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-undo \- revert Timewarrior commands

View file

@ -1,4 +1,4 @@
.TH timew-untag 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-untag 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-untag \- remove tags from intervals

View file

@ -1,4 +1,4 @@
.TH timew-week 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew-week 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew-week \- display week chart

View file

@ -1,4 +1,4 @@
.TH timew 1 2018-02-03 "${PACKAGE_STRING}" "User Manuals"
.TH timew 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
.
.SH NAME
timew \- A command line time tracker.