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 <>
Tzafrir Cohen 2015-08-18 23:42:05 +02:00
parent 855772135c
commit b471526700
1 changed files with 2 additions and 2 deletions

View File

@ -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 \
$(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