From: Mike Gabriel Date: Thu, 19 Jan 2023 22:00:25 +0100 Subject: doc/Makefile: Enforce LANG=C before running sphinx-build. In Click's conf.py (Sphinx configuration) there is some nasty date string extraction/conversion hack that fails if LANG is set to anything else than C or en_US.UTF-8 (or alike). Forwarded: https://gitlab.com/ubports/development/core/click/-/merge_requests/22 --- doc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index f7670a4..5f781a6 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,6 +1,9 @@ # Makefile for Sphinx documentation # +# no locale support +export LANG=C + # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build