diff options
author | Carsten Brandt <mail@cebe.cc> | 2017-01-17 19:47:12 +0100 |
---|---|---|
committer | Sergey 'Jin' Bostandzhyan <jin at mediatomb dot cc> | 2017-01-18 11:20:07 +0100 |
commit | 86e67f805ad4328afe97273a04cfc8d5b322403b (patch) | |
tree | 19cf151e04c60b3562db73074934f11f36362da8 /other/version-sync | |
parent | 3520eee05d9828f16434f1c3591ea0f9a2153596 (diff) |
decouple version-sync script from cmake
Diffstat (limited to 'other/version-sync')
-rwxr-xr-x | other/version-sync | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/other/version-sync b/other/version-sync index fdfe91d9..fa408c2d 100755 --- a/other/version-sync +++ b/other/version-sync | |||
@@ -29,6 +29,10 @@ update 'toxcore/tox.api.h' 's/\(const VERSION_MAJOR *= \).*;/\1'$MAJOR';/' | |||
29 | update 'toxcore/tox.api.h' 's/\(const VERSION_MINOR *= \).*;/\1'$MINOR';/' | 29 | update 'toxcore/tox.api.h' 's/\(const VERSION_MINOR *= \).*;/\1'$MINOR';/' |
30 | update 'toxcore/tox.api.h' 's/\(const VERSION_PATCH *= \).*;/\1'$PATCH';/' | 30 | update 'toxcore/tox.api.h' 's/\(const VERSION_PATCH *= \).*;/\1'$PATCH';/' |
31 | 31 | ||
32 | update 'CMakeLists.txt' 's/\(PROJECT_VERSION_MAJOR "\).*"/\1'$MAJOR'"/' | ||
33 | update 'CMakeLists.txt' 's/\(PROJECT_VERSION_MINOR "\).*"/\1'$MINOR'"/' | ||
34 | update 'CMakeLists.txt' 's/\(PROJECT_VERSION_PATCH "\).*"/\1'$PATCH'"/' | ||
35 | |||
32 | # | 36 | # |
33 | # calculating the SO version | 37 | # calculating the SO version |
34 | # | 38 | # |