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.
This commit is contained in:
Carsten Haitzler 2013-12-06 09:02:18 +09:00
parent 6a5e72d37b
commit 8b0955c8d0
1 changed files with 1 additions and 1 deletions

View File

@ -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'"; \