From: Sebastian Harl Date: Wed, 8 Feb 2012 18:34:09 +0000 (+0100) Subject: fb.txt: Dynamically determine the build date for the manpage as well. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=23f47361a09000176c5fa142946b7e39b81cfc45;p=template.git fb.txt: Dynamically determine the build date for the manpage as well. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index c07bab1..aca1d7e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -6,5 +6,8 @@ man_MANS = fb.1 fb.1: fb.txt ../version .txt.1: - a2x -d manpage -f manpage -apackage_version=$(PACKAGE_VERSION) $< + a2x -d manpage -f manpage \ + -apackage_version=$(PACKAGE_VERSION) \ + -abuild_date="$$( date --utc '+%F' )" \ + $< diff --git a/doc/fb.txt b/doc/fb.txt index 7e6516c..4b6f31c 100644 --- a/doc/fb.txt +++ b/doc/fb.txt @@ -1,7 +1,7 @@ FB(1) ===== Sebastian "tokkee" Harl -version {package_version}, 2012-02-08 +version {package_version}, {build_date} :doctype: manpage NAME