diff build/update-version.sh @ 308:34754c776530

* Further fix to version handling
author cannam
date Thu, 26 Aug 2010 09:30:53 +0000
parents ebc47e614cf5
children ef1dc9963638
line wrap: on
line diff
--- a/build/update-version.sh	Wed Aug 25 16:09:15 2010 +0000
+++ b/build/update-version.sh	Thu Aug 26 09:30:53 2010 +0000
@@ -66,6 +66,18 @@
 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \
     vamp-sdk/PluginBase.h
 
+$p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
+    src/vamp-sdk/PluginAdapter.cpp
+
+$p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
+    src/vamp-sdk/PluginAdapter.cpp
+
+$p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
+    src/vamp-hostsdk/PluginHostAdapter.cpp
+
+$p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
+    src/vamp-hostsdk/PluginHostAdapter.cpp
+
 for pc in pkgconfig/*.pc.in ; do
     $p 's/(Version:) .*/$1 '$version'/' $pc
 done