From: Carsten Haitzler (Rasterman) Date: Fri, 6 Dec 2013 00:02:18 +0000 (+0900) Subject: doc build - finally fix images.mk to stop changing order every make X-Git-Tag: v1.9.0-alpha1~514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b0955c8d00d9349d14133fd8a8877549462a72a;p=platform%2Fupstream%2Fefl.git 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. --- 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'"; \