X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eca734c48763f84505c222a76eb2aba651dc43af..d136f2abf1674cb4005473509e52ef5e070cb3a0:/build/tools/git-make-release diff --git a/build/tools/git-make-release b/build/tools/git-make-release index 7a5e813c58..6dcfc9681f 100755 --- a/build/tools/git-make-release +++ b/build/tools/git-make-release @@ -32,6 +32,12 @@ if [ -z "$version" ]; then exit 1 fi +EOL_FILE=../eol-native +if [ ! -r "$EOL_FILE" ]; then + echo "Use build/tools/svn-find-native-eols.pl to generate $EOL_FILE." >&2 + exit 1 +fi + set -e set -x @@ -54,11 +60,14 @@ find $prefix/include/wx -type f -name setup0.h | while read f; do mv $f ${f%0.h}.h done +# Compile gettext catalogs. +make -C $prefix/locale allmo + tar cjf $prefix.tar.bz2 $prefix cd $prefix set +x -for f in `cat ../eol-native`; do +for f in `cat $EOL_FILE`; do case $f in */setup0.h) # we renamed this file above so adjust