From 96134c5ea15e8fd7532fd71a8b3fc00cadf4b4b2 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Mon, 4 Sep 2017 14:51:35 +0200 Subject: [PATCH] Use ChangeLog date instead of build date in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a2c55537b..206896fd2 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,7 @@ dnl GCompris needs to know which locale are supported AC_SUBST(ALL_LINGUAS) AC_DEFINE_UNQUOTED(ALL_LINGUAS, "${ALL_LINGUAS}", [Supported languages]) -BUILD_DATE=`date +%y%m` +BUILD_DATE=`date -r ChangeLog +%y%m` AC_DEFINE_UNQUOTED(BUILD_DATE,"$BUILD_DATE", [Date at which GCompris has been built]) AC_SUBST(BUILD_DATE)