1
0
Fork 0

Making build reproducible by using UTC as timezone when generating the documentation, thanks to Chris Lamb <lamby@debian.org> (Closes: #1096188).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 12:30:11 +01:00
parent 624f969b82
commit ec101648f6
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

2
debian/rules vendored
View file

@ -19,7 +19,7 @@ override_dh_sphinxdoc: export http_proxy=127.0.0.1:9
override_dh_sphinxdoc: export https_proxy=127.0.0.1:9
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ debian/python-terminaltables3-doc/usr/share/doc/python-terminaltables3-doc/html/
TZ=UTC PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ debian/python-terminaltables3-doc/usr/share/doc/python-terminaltables3-doc/html/
dh_sphinxdoc
endif