diff options
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | docs/ChangeLog | 8 | ||||
-rw-r--r-- | docs/HACKING | 4 |
4 files changed, 12 insertions, 6 deletions
@@ -2777,8 +2777,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Define below date and version information to be put into man pages etc. -datemark=20081117 -date=`LANG=C date -d $datemark +'%Y-%m-%d'` +date=2008-11-17 roff_version=`echo 2.5.3 | sed 's/-/\\-/g'` # We have to be a bit naughty here and supply options. diff --git a/configure.ac b/configure.ac index a9d305a7..283a9f05 100644 --- a/configure.ac +++ b/configure.ac @@ -16,8 +16,7 @@ AC_CONFIG_HEADER(config.h) AC_CANONICAL_HOST # Define below date and version information to be put into man pages etc. -datemark=20081117 -date=`LANG=C date -d $datemark +'%Y-%m-%d'` +date=2008-11-17 AC_SUBST(date)dnl roff_version=`echo AC_PACKAGE_VERSION | sed 's/-/\\-/g'` AC_SUBST(roff_version)dnl diff --git a/docs/ChangeLog b/docs/ChangeLog index 1929a10e..cbc784e3 100644 --- a/docs/ChangeLog +++ b/docs/ChangeLog @@ -1,3 +1,11 @@ +Mon Nov 17 19:26:50 GMT 2008 Colin Watson <cjwatson@debian.org> + + * configure.ac: Now that we use the ISO 8601 date format rather than + language-specific date variants, there's no reason to call out to + date (using options specific to GNU date) to format the date + string, so just hardcode it. + * docs/HACKING (Release process): datemark -> date. + Mon Nov 17 17:55:35 GMT 2008 Colin Watson <cjwatson@debian.org> FreeBSD build fixes. diff --git a/docs/HACKING b/docs/HACKING index dc79c41f..8e5103f5 100644 --- a/docs/HACKING +++ b/docs/HACKING @@ -157,8 +157,8 @@ Release process 4. Ensure that docs/NEWS and docs/man-db.lsm are up to date. Commit. -5. Update the AC_INIT version number and 'datemark' in configure.ac, but - don't commit yet. +5. Update the AC_INIT version number and 'date' in configure.ac, but don't + commit yet. 6. Run ./release.sh, which will spit out a tarball. Test it. |