[Pkg-wmaker-commits] [wmclock] 03/04: wmclock: Get manpage date from ChangeLog instead of manually updating.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Sep 24 11:13:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmclock.
commit cef12944eb94ee486b43d52303e29568a48b252f
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Thu Sep 24 02:24:09 2015 -0400
wmclock: Get manpage date from ChangeLog instead of manually updating.
---
configure.ac | 2 ++
wmclock.1.in | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 82a2382..8909b6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,8 @@ AC_DEFINE_UNQUOTED(MONTH_XPM, ["${LangDir}/month.xpm"])
AC_DEFINE_UNQUOTED(WEEKDAY_XPM, ["${LangDir}/weekday.xpm"])
AC_MSG_NOTICE([configuring for ${with_lang} day-of-week and month names...])
+AC_SUBST(DATE, "esyscmd(head -n 1 ChangeLog | cut -d' ' -f1 | tr -d '\n')")
+
PKG_CHECK_MODULES([x11], [x11])
PKG_CHECK_MODULES([xpm], [xpm])
PKG_CHECK_MODULES([xext], [xext])
diff --git a/wmclock.1.in b/wmclock.1.in
index 39a3410..93fd077 100644
--- a/wmclock.1.in
+++ b/wmclock.1.in
@@ -21,7 +21,7 @@
.TP \\$1
..
.\" ----------------------------------------------------------------
-.TH wmclock 1 "2014-Dec-11" "Version @VERSION@"
+.TH wmclock 1 @DATE@ "Version @VERSION@"
.\" ----------------------------------------------------------------
.SH NAME
wmclock \- A dockable clock for the Window Maker window manager
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmclock.git
More information about the Pkg-wmaker-commits
mailing list