new (hopefully correct) mapping of glite module version to libtool -version-info
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 11 Oct 2005 20:06:31 +0000 (20:06 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 11 Oct 2005 20:06:31 +0000 (20:06 +0000)
org.glite.security.gsoap-plugin/Makefile
org.glite.security.gsoap-plugin/project/version.properties

index 5045515..17fc5be 100644 (file)
@@ -25,7 +25,12 @@ gsoap_versions?=2.6.2 2.7.0
 GSPLUGIN_DEBUG?=no
 GSPLUGIN_VERSION_CHECKING?=yes
 
-version_info=-version-info `echo ${version} | cut -d. -f1,2 | tr . :`
+
+offset=1
+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 . :`
 
 gsoap_version=${gsoap_default_version}