X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6bd7695dac890027ddece828b524381fdcbe581..c80d4c1e207b0011db61cb2ce1cc8babe8e54582:/build/tools/git-make-release?ds=sidebyside diff --git a/build/tools/git-make-release b/build/tools/git-make-release index 72513ad436..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 @@ -72,3 +81,4 @@ set -x zip -q -r ../$prefix.zip . 7z a ../$prefix.7z . >/dev/null +7z a ../${prefix}_Headers.7z include >/dev/null