Commit b78b70612b83632d9f1256e4fa4c69c33f81a5f8

Karl Berry 2025-05-20T09:17:04

mdate-sh: support $SOURCE_DATE_EPOCH. From https://bugs.gnu.org/77805. * lib/mdate-sh: if $SOURCE_DATE_EPOCH is set, use it instead of the mtime of any file. Debian was removing @value{UPDATED}, etc., from manuals because of varying output. Try date --date, then date -r, then perl gmtime, then fall back to the file's mtime. Also, warn if more than one file argument is given. (mon_to_month): factor out conversion of Jan to January. * t/mdate5.sh: test it. * doc/automake.texi (Texinfo): mention it. * NEWS: mention it.