From 23f47361a09000176c5fa142946b7e39b81cfc45 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 8 Feb 2012 19:34:09 +0100 Subject: [PATCH] fb.txt: Dynamically determine the build date for the manpage as well. --- doc/Makefile.am | 5 ++++- doc/fb.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.30.2