[xiph-commits] r15790 - in trunk/ezstream: . doc

moritz at svn.xiph.org moritz at svn.xiph.org
Tue Mar 17 11:32:41 PDT 2009


Author: moritz
Date: 2009-03-17 11:32:39 -0700 (Tue, 17 Mar 2009)
New Revision: 15790

Modified:
   trunk/ezstream/configure.in
   trunk/ezstream/doc/Makefile.am
   trunk/ezstream/doc/ezstream.1.in
Log:
Set the manual date to the build date.


Modified: trunk/ezstream/configure.in
===================================================================
--- trunk/ezstream/configure.in	2009-03-17 18:29:15 UTC (rev 15789)
+++ trunk/ezstream/configure.in	2009-03-17 18:32:39 UTC (rev 15790)
@@ -17,6 +17,9 @@
 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],

Modified: trunk/ezstream/doc/Makefile.am
===================================================================
--- trunk/ezstream/doc/Makefile.am	2009-03-17 18:29:15 UTC (rev 15789)
+++ trunk/ezstream/doc/Makefile.am	2009-03-17 18:32:39 UTC (rev 15790)
@@ -4,7 +4,9 @@
 
 EXTRA_DIST	 = ezstream.1.in
 
-do_subst	 = sed -e 's,!!EXAMPLES_DIR!!, at 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

Modified: trunk/ezstream/doc/ezstream.1.in
===================================================================
--- trunk/ezstream/doc/ezstream.1.in	2009-03-17 18:29:15 UTC (rev 15789)
+++ trunk/ezstream/doc/ezstream.1.in	2009-03-17 18:32:39 UTC (rev 15790)
@@ -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



More information about the commits mailing list