Code

Use dh_install instead dh_link to install library symlinks.
authorSebastian Harl <sh@tokkee.org>
Sun, 24 Feb 2008 19:49:43 +0000 (20:49 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 24 Feb 2008 19:49:43 +0000 (20:49 +0100)
debian/librrd2-dev.install
debian/librrd2.install
debian/rules

index 718865277a68d16cfb52791ea162a0e0f3dab452..dccee1a98fc1e2f135372aafc2746b43c3735ffe 100644 (file)
@@ -3,3 +3,5 @@ usr/lib/librrd.a
 usr/lib/librrd_th.a
 usr/lib/librrd.la
 usr/lib/librrd_th.la
+usr/lib/librrd.so
+usr/lib/librrd_th.so
index e791aaf2694aa5d6e387f2d60e42fcafd03f99dc..e24cfc55595bf134ac5a23d8d9a9d95ead5055f7 100644 (file)
@@ -1,3 +1,3 @@
-usr/lib/librrd.so.2.* 
-usr/lib/librrd_th.so.2.* 
+usr/lib/librrd.so.*
+usr/lib/librrd_th.so.*
 ../../src/DejaVuSansMono-Roman.ttf usr/share/rrdtool/librrd2
index feda9971d0b74bbf29bc3b3a206d75d5a6351157..af701133d18702d586f632c4e336d96e9cbb53b1 100755 (executable)
@@ -10,11 +10,8 @@ include /usr/share/quilt/quilt.make
 
 #library versions
 LIB_version := $(shell grep '^librrd_la_LDFLAGS' src/Makefile.am | \
-                           sed 's,^[^0-9]*,,g;s,\([0-9]*\):\([0-9]*\):\([0-9]*\),\1.\3.\2,g')
+               sed 's,^[^0-9]*,,g;s,\([0-9]*\):\([0-9]*\):\([0-9]*\),\1.\3.\2,g')
 LIB_major := $(shell echo $(LIB_version) | sed 's,\..*,,g')
-LIB_TH_version := $(shell grep '^librrd_th_la_LDFLAGS' src/Makefile.am | \
-                           sed 's,^[^0-9]*,,g;s,\([0-9]*\):\([0-9]*\):\([0-9]*\),\1.\3.\2,g')
-LIB_TH_major := $(shell echo $(LIB_TH_version) | sed 's,\..*,,g')
 
 
 
@@ -199,10 +196,6 @@ binary-arch: build-arch install-arch
        dh_pysupport -ppython-rrdtool
        dh_perl -a
        dh_installman -a
-       dh_link -plibrrd2-dev /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so
-       dh_link -plibrrd2-dev /usr/lib/librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so
-       dh_link -plibrrd$(LIB_major) /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so.$(LIB_major)
-       dh_link -plibrrd$(LIB_major) /usr/lib/librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so.$(LIB_TH_major)
        dh_link -a
        dh_strip -a
        dh_compress -a