]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/scripts/inc_release
guarding code in case of delayed controller release
[wxWidgets.git] / misc / scripts / inc_release
index 40cdae1545b4b2a95e7c7940e2f31385465d1ed4..08564c01c7f87a0bac517a229707c0bcce1d30dd 100755 (executable)
@@ -71,10 +71,6 @@ msg "Updating version to $ver_string_new"
 
 ver_for_sed="$ver_major\.$ver_minor\.$ver_release"
 
 
 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/"
-
 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/" \
 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/" \
@@ -84,6 +80,30 @@ for f in *.spec; do
     run_sed $f "/^%define *ver/s/$ver_for_sed/$ver_string_new/"
 done
 
     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 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/" \
+    "/<string>/s/$ver_for_sed/$ver_string_new/"
+
+run_sed samples/docview/Info.plist \
+    "/versionon/s/$ver_for_sed/$ver_string_new/" \
+    "/<string>/s/$ver_for_sed/$ver_string_new/"
+
+run_set src/wxWindows.xcodeproj/project.pbxproj \
+    "s/DYLIB_CURRENT_VERSION = $ver_for_sed/DYLIB_CURRENT_VERSION = $ver_string_new/"