Skip to content
Permalink
Browse files

Set date in man pages to cmake generation date

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
  • Loading branch information...
lauft committed Feb 16, 2019
1 parent e53e92f commit cf045bc762be38c59c3c7fba253479c8c5e972a6
@@ -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")
@@ -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
@@ -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
@@ -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
@@ -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:
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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),
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.

0 comments on commit cf045bc

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.