diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-04-13 10:16:05 +0300 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-04-13 10:16:05 +0300 |
commit | 94b640a0939f49649340d01460c0e3fc7c318f59 (patch) | |
tree | 98240e7799ab936f540e97b5abbeb28d70ecace8 /debian | |
parent | 869ca8f429492edc82700a4b4cd0cac7fc4b09b7 (diff) |
Corrected library version
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 7 insertions, 7 deletions
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 |