about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2018-08-29 08:53:02 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-08-29 13:40:00 +0200
commit5dbed68b6a2871a448a120b235f3799afd4c9245 (patch)
treed52f252977033e46b3dbd3f0df08b9884da96e50 /GNUmakefile
parent562fec2614ac57adc44a64479e199427d9bf5fe1 (diff)
downloadmblaze-5dbed68b6a2871a448a120b235f3799afd4c9245.tar.gz
mblaze-5dbed68b6a2871a448a120b235f3799afd4c9245.tar.xz
mblaze-5dbed68b6a2871a448a120b235f3799afd4c9245.zip
GNUmakefile: correct reference to SOURCE_DATE_EPOCH
It's DATE, not TIME.

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907537

Closes: #132 [via git-merge-pr]
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e736104..0d7d0a3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,7 +38,7 @@ mmime : slurp.o
 minc mlist : squeeze_slash.o
 
 museragent: FRC
-	@test -n "$$SOURCE_TIME_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
+	@test -n "$$SOURCE_DATE_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
 		printf '#!/bin/sh\nprintf "User-Agent: mblaze/%s%s\\n"\n' \
 		"$$({ git describe --always --dirty 2>/dev/null || cat VERSION; } | sed 's/^v//')" \
 		"$$BUILDDATE" >$@