1 parent 0d44364 commit e4282acCopy full SHA for e4282ac
1 file changed
config.mk
@@ -104,7 +104,11 @@ else
104
MAN_INOTIFY = disabled
105
endif
106
107
-MAN_DATE ?= ${shell date '+%B %d, %Y'}
+# The environment variable SOURCE_DATE_EPOCH is used by build environments
108
+# to produce reproducible binary builds. In fact you can set both manually,
109
+# SOURCE_DATE_EPOCH and MAN_DATE.
110
+SOURCE_DATE_EPOCH ?= $(shell date +%s)
111
+MAN_DATE ?= ${shell date --utc --date=@$(SOURCE_DATE_EPOCH) '+%B %d, %Y'}
112
113
# Uncomment this to use dmalloc
114
#CFLAGS += -DWITH_DMALLOC
0 commit comments