From 26c2d86c29c32113b413f2fbc949f930829eb52e Mon Sep 17 00:00:00 2001 From: moritz Date: Tue, 17 Mar 2009 18:32:39 +0000 Subject: [PATCH] Set the manual date to the build date. git-svn-id: https://svn.xiph.org/trunk/ezstream@15790 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- configure.in | 3 +++ doc/Makefile.am | 4 +++- doc/ezstream.1.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 2def1a0..e250ee6 100644 --- a/configure.in +++ b/configure.in @@ -17,6 +17,9 @@ AC_PROG_CC_STDC AC_PROG_FGREP AC_CANONICAL_HOST +BUILD_DATE=$(date '+%B %d, %Y') +AC_SUBST([BUILD_DATE]) + EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}" AC_ARG_ENABLE([examplesdir], [AS_HELP_STRING([--enable-examplesdir=DIR], diff --git a/doc/Makefile.am b/doc/Makefile.am index ead820c..050de65 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,7 +4,9 @@ man_MANS = ezstream.1 EXTRA_DIST = ezstream.1.in -do_subst = sed -e 's,!!EXAMPLES_DIR!!,@EXAMPLES_DIR@,g' +do_subst = sed \ + -e 's|!!EXAMPLES_DIR!!|@EXAMPLES_DIR@|g' \ + -e 's|!!BUILD_DATE!!|@BUILD_DATE@|g' ezstream.1: ezstream.1.in Makefile $(do_subst) < $(srcdir)/ezstream.1.in > ezstream.1 diff --git a/doc/ezstream.1.in b/doc/ezstream.1.in index 10ebd58..9b469f1 100644 --- a/doc/ezstream.1.in +++ b/doc/ezstream.1.in @@ -3,7 +3,7 @@ .\" This document may be be used and/or modified under the licensing terms .\" of the Ezstream software. .\" -.Dd February 20, 2007 +.Dd !!BUILD_DATE!! .Dt EZSTREAM 1 .Os .Sh NAME