summaryrefslogtreecommitdiff
path: root/cpp/fixVersion.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/fixVersion.py')
-rwxr-xr-xcpp/fixVersion.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/cpp/fixVersion.py b/cpp/fixVersion.py
index 7124cccfd4f..eb3deab45d5 100755
--- a/cpp/fixVersion.py
+++ b/cpp/fixVersion.py
@@ -172,13 +172,22 @@ if not patchIceE:
ice_home = findSourceTree("ice", os.path.join("include", "IceUtil", "Config.h"))
if ice_home:
fileMatchAndReplace(os.path.join(ice_home, "include", "IceUtil", "Config.h"),
- [("ICE_STRING_VERSION \"([0-9]*\.[0-9]*\.[0-9]*)\"", version), \
- ("ICE_INT_VERSION ([0-9]*)", intVersion(version))])
+ [("ICE_STRING_VERSION \"([0-9]*\.[0-9]*\.[0-9]*)\"", version), \
+ ("ICE_INT_VERSION ([0-9]*)", intVersion(version))])
fileMatchAndReplace(os.path.join(ice_home, "config", "Make.rules"),
- [("VERSION[\t\s]*= ([0-9]*\.[0-9]*\.[0-9]*)", version),
+ [("VERSION[\t\s]*= ([0-9]*\.[0-9]*\.[0-9]*)", version),
("SOVERSION[\t\s]*= ([0-9]*)", soVersion(version))])
-
+
+ fileMatchAndReplace(os.path.join(ice_home, "src", "ca", "import.py"),
+ [("Ice-([0-9]*\.[0-9]*\.[0-9]*)", version)])
+ fileMatchAndReplace(os.path.join(ice_home, "src", "ca", "initca.py"),
+ [("Ice-([0-9]*\.[0-9]*\.[0-9]*)", version)])
+ fileMatchAndReplace(os.path.join(ice_home, "src", "ca", "req.py"),
+ [("Ice-([0-9]*\.[0-9]*\.[0-9]*)", version)])
+ fileMatchAndReplace(os.path.join(ice_home, "src", "ca", "sign.py"),
+ [("Ice-([0-9]*\.[0-9]*\.[0-9]*)", version)])
+
fileMatchAllAndReplace(os.path.join(ice_home, "src", "Freeze", "freeze.dsp"),
[("freeze([0-9][0-9])d?\.((dll)|(pdb))", soVersion(version))])
fileMatchAllAndReplace(os.path.join(ice_home, "src", "Glacier2", "glacier2.dsp"),