From 94b640a0939f49649340d01460c0e3fc7c318f59 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Tue, 13 Apr 2010 10:16:05 +0300 Subject: Corrected library version --- debian/rules | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index aff3d26..ca8d478 100755 --- a/debian/rules +++ b/debian/rules @@ -21,13 +21,13 @@ else endif # shared library versions, option 1 -version=2.0.5 -major=2 +#version=2.0.5 +#major=2 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so -#version=`ls src/build/lib*.so.* | \ -# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -#major=`ls src/build/lib*.so.* | \ -# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` +version=`ls libresourceqt/build/libresourceqt.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls libresourceqt/build/libresourceqt.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` configure: configure-stamp configure-stamp: @@ -102,4 +102,4 @@ binary-arch: build install dh_builddeb binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure \ No newline at end of file +.PHONY: build clean binary-indep binary-arch binary install configure -- cgit v1.2.3