]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/scripts/inc_release
simplifying code, removing outdated API
[wxWidgets.git] / misc / scripts / inc_release
index 6cdee25372e9e38c321956837b718548f1e6b055..8f342592123e44935ba2c9a4c39692e8b8751342 100755 (executable)
@@ -73,7 +73,12 @@ 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/"
+    "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 src/wxWindows.xcodeproj/project.pbxproj \
+    "/DYLIB_.* = /s/$ver_for_sed/$ver_string_new/"
 
 run_sed configure.in \
     "/^AC_INIT/s/$ver_for_sed/$ver_string_new/" \
@@ -84,4 +89,11 @@ for f in *.spec; do
     run_sed $f "/^%define *ver/s/$ver_for_sed/$ver_string_new/"
 done
 
+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 build/script/win_docs.bat "/SET WXW_VER=/s/$ver_for_sed/$ver_string_new/"
+
+run_sed distrib/scripts/build-environ.cfg \
+    "/BUILD_VERSION=/s/$ver_for_sed/$ver_string_new/"