comparison build/update-version.sh @ 326:ef1dc9963638

Update versions throughout
author Chris Cannam
date Thu, 24 Nov 2011 13:18:04 +0000
parents 34754c776530
children f9e13bc35b3e
comparison
equal deleted inserted replaced
325:a3097781e894 326:ef1dc9963638
55 build/libvamp-hostsdk.la.in 55 build/libvamp-hostsdk.la.in
56 56
57 $p 's/(VAMP_API_VERSION).*/$1 '$major'/' \ 57 $p 's/(VAMP_API_VERSION).*/$1 '$major'/' \
58 vamp/vamp.h 58 vamp/vamp.h
59 59
60 $p 's/(VAMP_SDK_VERSION)"[^"]*"/$1 "'$version'"/' \ 60 $p 's/(VAMP_SDK_VERSION) +"[^"]*"/$1 "'$version'"/' \
61 vamp-sdk/PluginBase.h 61 vamp-sdk/PluginBase.h
62 62
63 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \ 63 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \
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'/' \ 69 $p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
70 src/vamp-sdk/PluginAdapter.cpp 70 src/vamp-sdk/PluginAdapter.cpp
71 71
72 $p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \ 72 $p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
73 src/vamp-sdk/PluginAdapter.cpp 73 src/vamp-sdk/PluginAdapter.cpp
74 74
75 $p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \ 75 $p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
76 src/vamp-hostsdk/PluginHostAdapter.cpp 76 src/vamp-hostsdk/PluginHostAdapter.cpp
77 77
78 $p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \ 78 $p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
79 src/vamp-hostsdk/PluginHostAdapter.cpp 79 src/vamp-hostsdk/PluginHostAdapter.cpp
80 80
81 for pc in pkgconfig/*.pc.in ; do 81 for pc in pkgconfig/*.pc.in ; do
82 $p 's/(Version:) .*/$1 '$version'/' $pc 82 $p 's/(Version:) .*/$1 '$version'/' $pc
83 done 83 done