comparison 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
comparison
equal deleted inserted replaced
307:ebc47e614cf5 308:34754c776530
64 vamp-sdk/PluginBase.h 64 vamp-sdk/PluginBase.h
65 65
66 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \ 66 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \
67 vamp-sdk/PluginBase.h 67 vamp-sdk/PluginBase.h
68 68
69 $p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
70 src/vamp-sdk/PluginAdapter.cpp
71
72 $p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
73 src/vamp-sdk/PluginAdapter.cpp
74
75 $p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
76 src/vamp-hostsdk/PluginHostAdapter.cpp
77
78 $p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
79 src/vamp-hostsdk/PluginHostAdapter.cpp
80
69 for pc in pkgconfig/*.pc.in ; do 81 for pc in pkgconfig/*.pc.in ; do
70 $p 's/(Version:) .*/$1 '$version'/' $pc 82 $p 's/(Version:) .*/$1 '$version'/' $pc
71 done 83 done
72 84
73 echo "Done, now check with e.g. svn diff -- and don't forget to update CHANGELOG" 85 echo "Done, now check with e.g. svn diff -- and don't forget to update CHANGELOG"