commit 9aaac66286910f547ec3068d3fd72afb4fe716bf
Author: Oswald Buddenhagen <[email protected]>
Date: Tue Aug 5 10:55:29 2025 +0200
change reference file for man page date stamps
using configure's timestamp makes builds non-reproducible if the build
process includes rebuilding configure, which is the case for downstreams
like debian.
i considered using the NEWS file, as it's now updated with every
release. however, that would be unsuitable for git builds.
so instead use VERSION's timestamp, which the build system tries to keep
constant unless something actually changes. it's also a semantically
obvious choice.
debian may still want to use a different reference, specifically
debian/changelog. however, in principle that should be unnecessary, as
they _should_ update VERSION to reflect any local modifications.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 8c46b8b..1cff65a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,7 +251,7 @@ if test "x$have_macos_keychain" != xno; then
AC_SUBST(KEYCHAIN_LIBS,
["-Wl,-framework,Security,-framework,CoreFoundation"])
fi
-RELEASE_DATE=`date -r $0 +%F`
+RELEASE_DATE=`date -r VERSION +%F`
AC_SUBST(RELEASE_DATE)
AC_CONFIG_FILES([Makefile src/Makefile src/mbsync.1 src/mdconvert.1
isync.spec])
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel