X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/311360b8931ee97c5a8cff6749588f480d9ca1f5..2a0777a8f079e4f2991f219dc641de3798143f79:/misc/scripts/inc_release diff --git a/misc/scripts/inc_release b/misc/scripts/inc_release index 46b364f40f..2f8ed4ad40 100755 --- a/misc/scripts/inc_release +++ b/misc/scripts/inc_release @@ -71,11 +71,6 @@ msg "Updating version to $ver_string_new" ver_for_sed="$ver_major\.$ver_minor\.$ver_release" -run_sed include/wx/version.h \ - "s/^\(#define wxRELEASE_NUMBER *\) $ver_release$/\1 $ver_release_new/" \ - "s/^\(#define wxSUBRELEASE_NUMBER *\) [0-9]\{1,\}$/\1 0/" \ - "/^#define wxVERSION_STRING/s/$ver_for_sed/$ver_string_new/" - run_sed configure.in \ "/^AC_INIT/s/$ver_for_sed/$ver_string_new/" \ "s/^wx_release_number=$ver_release/wx_release_number=$ver_release_new/" \ @@ -85,6 +80,35 @@ for f in *.spec; do run_sed $f "/^%define *ver/s/$ver_for_sed/$ver_string_new/" done -run_sed docs/latex/wx/manual.tex \ - "/^\\\\\\\\title/s/$ver_for_sed/$ver_string_new/" -run_sed build/script/win_docs.bat "/SET WXW_VER=/s/$ver_for_sed/$ver_string_new/" +run_sed build/osx/wxvers.xcconfig \ + "/DYLIB_.* = /s/$ver_for_sed/$ver_string_new/" + +run_sed build/tools/bld_chm_exe.bat \ + "/^SET WXW_VER=/s/$ver_for_sed/$ver_string_new/" + +run_sed docs/doxygen/Doxyfile_inc \ + "/^PROJECT_NUMBER/s/$ver_for_sed/$ver_string_new/" + +run_sed docs/doxygen/latexdocstart.inc \ + "/\\large Version/s/$ver_for_sed/$ver_string_new/" + +run_sed include/wx/version.h \ + "s/^\(#define wxRELEASE_NUMBER *\) $ver_release$/\1 $ver_release_new/" \ + "s/^\(#define wxSUBRELEASE_NUMBER *\) [0-9]\{1,\}$/\1 0/" \ + "/^#define wxVERSION_STRING/s/$ver_for_sed/$ver_string_new/" + +run_sed include/wx/osx/config_xcode.h \ + "/^#define PACKAGE/s/$ver_for_sed/$ver_string_new/" + +run_sed samples/Info.plist \ + "/version/s/$ver_for_sed/$ver_string_new/" \ + "//s/$ver_for_sed/$ver_string_new/" + +run_sed samples/minimal/Info_carbon.plist \ + "//s/$ver_for_sed/$ver_string_new/" +run_sed samples/minimal/Info_cocoa.plist \ + "//s/$ver_for_sed/$ver_string_new/" + +run_sed samples/docview/Info.plist \ + "/versionon/s/$ver_for_sed/$ver_string_new/" \ + "//s/$ver_for_sed/$ver_string_new/"