summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2015-12-11 10:49:33 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2016-04-01 12:42:02 +1000
commit1dbdc297d915e4979a7823d6a569d9c7fed14617 (patch)
tree0cc6f94316f0dafedae08fc674014e8d3563e48a
parent7c7c2c18864d166391e49758d83e9cc601bbfb17 (diff)
specs: Set TZ=UTC before calling asciidoc
Set TZ=UTC before calling asciidoc to make the embedded dates invariant to timezones in order to make the package build reproducibly. Fixes bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795981 v2: Set TZ=UTC after $(AM_V_GEN) (fixes non-verbose build) Suggested-by: Eduard Sanou <dhole@openmailbox.org> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--specs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/Makefile.am b/specs/Makefile.am
index a83cf40..f2454bc 100644
--- a/specs/Makefile.am
+++ b/specs/Makefile.am
@@ -6,7 +6,7 @@ doc_DATA = XI2proto.html XIproto.html
dist_doc_DATA = XI2proto.txt XIproto.txt
%.html: %.txt
- $(AM_V_GEN)$(ASCIIDOC) -o $@ $<
+ $(AM_V_GEN)TZ=UTC $(ASCIIDOC) -o $@ $<
CLEANFILES = $(doc_DATA)