# where offset is a sum of maximal released minor's of all previous major's
#
-# counted minors: N/A
-offset=-1
+# counted minors: 1.0
+offset=0
version_info:=-version-info ${shell \
perl -e '$$,=":"; @F=split /\./,"${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' }
# version_info=-version-info `echo ${version} | cut -d. -f1,2 | tr . :`
-# counted minor versions:
-offset=0
+# counted minor versions: 1.0, 2.3, 3.2, 4.1
+offset=6
version_info:=-version-info ${shell \
perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' }
#
# counted minors: 1.1, 2.0, 3.1, 4.0, 5.1, 6.1, 7.1
-offset=2
+offset=5
version_info:=-version-info ${shell \
perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' }
# where offset is a sum of maximal released minor's of all previous major's
#
-# counted minors: 1.0
+# counted minors: 1.0, 2.0
offset=0
version_info:=-version-info ${shell \
# where offset is a sum of maximal released minor's of all previous major's
#
-# counted minors: 1.5
-# TODO: bump offset to 5 on next major change
-offset=-1
+# counted minors: 1.5, 2.1
+offset=6
version_info:=-version-info ${shell \
perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' }
# where offset is a sum of maximal released minor's of all previous major's
#
-# counted minors: gsoap-plugin 1.5
-# TODO: bump offset to 5 on next major change
-offset=-1
+# counted minors: gsoap-plugin 1.5, gss 2.1
+offset=6
version_info:=-version-info ${shell \
perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' }