Reported by Bernhard M. Wiedemann <bwiedemann@suse.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-03/msg00024.html>.
* MODULES.html.sh: Print the date of the last gnulib commit, not the
current date.
+2020-03-22 Bruno Haible <bruno@clisp.org>
+
+ MODULES.html.sh: Add support for reproducible builds.
+ Reported by Bernhard M. Wiedemann <bwiedemann@suse.de> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-03/msg00024.html>.
+ * MODULES.html.sh: Print the date of the last gnulib commit, not the
+ current date.
+
2020-03-22 Bruno Haible <bruno@clisp.org>
Several modules: Depend on stat.
func_end UL
func_echo '<HR>'
-func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
+git_checkout_date=`git log -n 1 --date=iso --format=fuller | sed -n -e 's/^CommitDate: //p'`
+pretty_date=`LC_ALL=C date +"%e %B %Y" --date="$git_checkout_date"`
+func_echo "Generated by <CODE>MODULES.html.sh</CODE> from a git checkout as of ${pretty_date}."
func_end BODY