janneke pushed a commit to branch wip-tarball
in repository guix.
commit 626cfae42149334cfc126698159839570c14c4fc
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Wed Apr 3 23:45:59 2024 +0200
maint: Generate AUTHORS and ChangeLog reproducibly.
* Makefile.am (gen-ChangeLog): Set LC_ALL=en_US.UTF-8 TZ=UTC0.
(gen-AUTHORS): Likewise.
Change-Id: I109ceffdf07b8dde6385b6b509366c47564c9f31
---
Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index a5e49bc406..7af88b2988 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -974,6 +974,8 @@ gen-tarball-version:
gen-ChangeLog:
$(AM_V_GEN)if test -e .git; then \
+ export LC_ALL=en_US.UTF-8; \
+ export TZ=UTC0; \
$(top_srcdir)/build-aux/gitlog-to-changelog \
> $(distdir)/ChangeLog.tmp; \
rm -f $(distdir)/ChangeLog; \
@@ -983,6 +985,8 @@ gen-ChangeLog:
gen-AUTHORS:
$(AM_V_GEN)if test -e .git; then \
rm -f "$(distdir)/AUTHORS"; \
+ export LC_ALL=en_US.UTF-8; \
+ export TZ=UTC0; \
$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/generate-authors.scm" \
"$(top_srcdir)" "$(distdir)/AUTHORS"; \