From 8b0955c8d00d9349d14133fd8a8877549462a72a Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 6 Dec 2013 09:02:18 +0900 Subject: [PATCH] doc build - finally fix images.mk to stop changing order every make sort changes output based on locale. even between C and en_US etc. letalone all the other interesting ones. this causes the sorted order to keep changing of the images. this forces locale to C to make it always the same order. --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 947cc5e53b..63a834e519 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -55,7 +55,7 @@ include images.mk all-local: @rm -f images.tmp; \ echo 'EXTRA_DIST += \' > images.tmp; \ - (cd $(srcdir) && find ./img -type f -print | cut -d/ -f2- | grep -v '~' | sort | tr '\n' ' ') >> images.tmp && \ + (cd $(srcdir) && find ./img -type f -print | cut -d/ -f2- | grep -v '~' | LANG=C LANGUAGE=C LC_ALL=C LC_CTYPE=C LC_NUMERIC=C LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C sort | tr '\n' ' ') >> images.tmp && \ echo >> images.tmp && \ if ! cmp "$(srcdir)/images.mk" images.tmp >/dev/null; then \ echo "warning: new images added to '$(srcdir)/images.mk'"; \