doc: set LC_ALL=C for building tutorial images
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 11 May 2024 15:20:46 +0000 (17:20 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 11 May 2024 15:20:46 +0000 (17:20 +0200)
The previous commit to fix the "make install" problem in shells which
have a locale setting different from "US" did not work for Bernd on
archlinux. Thanks for reporting the problem!

Closes: https://savannah.gnu.org/bugs/?65124
doc/automake.mk

index 2dfe838546a35e3722d4a2eb7969929ad3195fba..89d924d23945da859e43c358b6331a7a26c1f542 100644 (file)
@@ -238,12 +238,12 @@ endif
 
 $(FIGURE_SPVS): $(pspp)
 .sps.spv:
-       $(AM_V_GEN) LANG=C of=`pwd`/$@.tmp; (cd "$(top_srcdir)/examples" \
+       $(AM_V_GEN) LC_ALL=C of=`pwd`/$@.tmp; (cd "$(top_srcdir)/examples" \
          && "$(abs_top_builddir)/$(pspp)" ../doc/pspp-figures/$(<F) -o $$of -O format=spv)
        $(AM_V_at)mv $@.tmp $@
 
 # In some cases, the tutorial only wants some parts of the output.
-convert = $(AM_V_GEN) LANG=C LSAN_OPTIONS="suppressions=$(abs_top_srcdir)/tests/lsan.supp:print_suppressions=0:$$LSAN_OPTIONS" $(pspp_output) convert $< $@
+convert = $(AM_V_GEN) LC_ALL=C LSAN_OPTIONS="suppressions=$(abs_top_srcdir)/tests/lsan.supp:print_suppressions=0:$$LSAN_OPTIONS" $(pspp_output) convert $< $@
 doc/pspp-figures/tutorial2a.spv: doc/pspp-figures/tutorial2.spv $(pspp_output)
        $(convert) --command='Descriptives'
 doc/pspp-figures/tutorial2b.spv: doc/pspp-figures/tutorial2.spv $(pspp_output)