- define the version number for the library. When updating the
- version number all of these files must be edited:
-
- {wx}/configure.in
- {wx}/*.spec
- {wx}/include/wx/version.h
- {wx}/include/msvc/wx/setup.h [only major.minor used here]
- {wx}/samples/minimal/borland_ide.cpp
- {wx}/docs/latex/wx/manual.tex
- {wx}/docs/msw/install.txt {major release only}
- {wx}/docs/changes.txt
- {wx}/build/bakefiles/wxpresets/presets/wx_win32.bkl
- {wx}/build/bakefiles/version.bkl {C:R:A}
- {wx}/build/script/win_docs.bat {windows doc and setup file}
- {wx}/distrib/scripts/build-environ.cfg {cvs tar and zip files}
- {wx}/include/wx/mac/carbon/config_xcode.h
-
- The script misc/scripts/inc_release can be used for incrementing
- the release field of the version, i.e. changing 2.8.x to 2.8.x+1.
+ define the version number for the library.
+
+ The script misc/scripts/inc_release can be used for incrementing the release
+ field of the version, i.e. changing 2.8.x to 2.8.x+1 but it does not take
+ care of version.bkl and can't be used for changing the other version
+ components, this needs to be done manually. It also doesn't update
+ version.bkl file which always needs to be updated manually, follow the
+ instructions there.
+
+ Here is the list of files that need to be updated:
+
+ build/bakefiles/version.bkl {C:R:A} [NOT UPDATED AUTOMATICALLY]
+ configure.in
+ *.spec
+ build/osx/wxvers.xcconfig
+ docs/changes.txt
+ docs/readme.txt (date needs manual editing) [NOT UPDATED AUTOMATICALLY]
+ docs/doxygen/Doxyfile_inc (PROJECT_NUMBER)
+ docs/doxygen/latexdocstart.inc
+ docs/doxygen/mainpages/manual.h (just date) [NOT UPDATED AUTOMATICALLY]
+ docs/msw/install.txt {major release only}
+ include/wx/version.h
+ include/wx/osx/config_xcode.h
+ samples/Info.plist
+ samples/docview/Info.plist
+ samples/minimal/Info_carbon.plist
+ samples/minimal/Info_cocoa.plist
+ samples/minimal/borland_ide.cpp {major release only}
+
+ Do not forget to rebake everything after updating version.bkl!