From b47152670012f0d2d11bd4bde2d9397121f797a3 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 18 Aug 2015 23:42:05 +0200 Subject: [PATCH] Makefile: build asciidoc with TZ=UTC In order to support a reproducable build, always run asciidoc with the timezone UTC. This makes sure that the time shown in the file will be the same, regardless of the location from which it is run. Signed-off-by: Tzafrir Cohen --- Makefile.legacy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.legacy b/Makefile.legacy index 0366fad..e26f0d2 100644 --- a/Makefile.legacy +++ b/Makefile.legacy @@ -69,10 +69,10 @@ genconf_parameters.sample: xpp/genconf_parameters README.html: README system.conf.asciidoc init.conf.asciidoc tonezones.txt \ UPGRADE.txt genconf_parameters.asciidoc assigned-spans.conf.asciidoc \ span-types.conf.asciidoc - $(ASCIIDOC) -n -a toc -a toclevels=4 $< + TZ=UTC $(ASCIIDOC) -n -a toc -a toclevels=4 $< README.Astribank.html: xpp/README.Astribank - $(ASCIIDOC) -o $@ -n -a toc -a toclevels=4 $< + TZ=UTC $(ASCIIDOC) -o $@ -n -a toc -a toclevels=4 $< # on Debian: this requires the full groff, not just groff-base. %.8.html: %.8