[SCM] Debian packaging for bibutils branch, master, updated. upstream/4.5-81-g6fbbf2b

David Bremner bremner at unb.ca
Fri Dec 10 03:56:22 UTC 2010


The following commit has been merged in the master branch:
commit f8931d9c10a12598c5e9fc39fcc09b36434e92c4
Author: David Bremner <bremner at unb.ca>
Date:   Thu Dec 2 09:28:01 2010 -0400

    Update debian/rules for new (upstream+patch) shlib building scheme.
    Simplify shared library naming; this helps hint that this not libtool.

diff --git a/debian/rules b/debian/rules
index 02cd7fd..184a94e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,10 @@
 DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 XP=xsltproc -''-nonet
 
-# what to pass to libtool
-SO_CURRENT=1
-SO_REVISION=0
-SO_AGE=0
-SOVERSION=$(SO_CURRENT):$(SO_REVISION):$(SO_AGE)
-SONAME="libbibutils.so."$(SO_CURRENT)
+# Set SONAME
+SOMAJOR=2
+SOMINOR=0
+SONAME="libbibutils.so."$(SOMAJOR)
 
 INSTALLDIR=$(CURDIR)/debian/tmp/bin
 DEVLIB=${CURDIR}/debian/libbibutils-dev/usr/lib
@@ -27,7 +25,8 @@ override_dh_auto_configure:
 	    -e 's/REPLACE_POSTFIX//' < Makefile_start > Makefile
 
 override_dh_auto_build:
-	$(MAKE) SOVERSION=$(SOVERSION) all
+	$(MAKE) -C lib -f Makefile.dynamic SONAME=$(SONAME) SOMINOR=$(SOMINOR) all
+	$(MAKE) -C bin -f Makefile.dynamic all
 	$(XP) -o bibutils.1 $(DB2MAN) bibutils.dbk
 	make -C test all
 	make -C test test

-- 
Debian packaging for bibutils



More information about the debian-science-commits mailing list