gen-autotools.sh: make order of files deterministic (MBC #2586)

"find" reports files in a filesystem dependent order. Added "sort"
to make that order deterministic, which minimizes changes when
comparing source distribution archives.
This commit is contained in:
Patrick Ohly 2010-06-17 14:14:00 +02:00
parent ca7c58b014
commit 98b8ff7033

View file

@ -118,7 +118,7 @@ for sub in src/backends/*/configure-sub.in; do
done
cat configure-post.in >>configure.in
TEMPLATE_FILES=`cd src && find templates -type f \( -name README -o -name '*.png' -o -name '*.svg' -o -name '*.ini' \)`
TEMPLATE_FILES=`cd src && find templates -type f \( -name README -o -name '*.png' -o -name '*.svg' -o -name '*.ini' \) | sort`
TEMPLATE_FILES=`echo $TEMPLATE_FILES`
# create Makefile.am files