--- Makefile.orig 2022-12-12 06:19:27 UTC +++ Makefile @@ -8,7 +8,7 @@ PKG_CONFIG ?= pkg-config PKG_CONFIG ?= pkg-config -REVISION_ID = $(shell git rev-parse --short HEAD 2>/dev/null) +REVISION_ID = DATE_FMT = %Y.%m.%d ifdef SOURCE_DATE_EPOCH BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)")