[Pkg-xfce-commits] r3609 - desktop/trunk/exo/debian

Yves-Alexis Perez corsac at alioth.debian.org
Mon Oct 19 12:02:30 UTC 2009


Author: corsac
Date: 2009-10-19 12:02:28 +0000 (Mon, 19 Oct 2009)
New Revision: 3609

Modified:
   desktop/trunk/exo/debian/rules
Log:
use EXO_SONAME to be even more precise and error-prone


Modified: desktop/trunk/exo/debian/rules
===================================================================
--- desktop/trunk/exo/debian/rules	2009-10-19 11:47:56 UTC (rev 3608)
+++ desktop/trunk/exo/debian/rules	2009-10-19 12:02:28 UTC (rev 3609)
@@ -7,13 +7,14 @@
 EXO_VERSION=0.3
 EXO_LIBNAME=0.3
 EXO_SOVERSION=0
+EXO_SONAME=libexo-$(EXO_LIBNAME)-$(EXO_SOVERSION)
 
 include /usr/share/quilt/quilt.make
 
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --libexecdir=/usr/lib/libexo-$(EXO_VERSION)-$(EXO_SOVERSION) --enable-final --disable-gtk-doc --disable-python --enable-notifications
+	 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --libexecdir=/usr/lib/$(EXO_SONAME) --enable-final --disable-gtk-doc --disable-python --enable-notifications
 
 build: patch build-stamp
 build-stamp:  config.status
@@ -56,7 +57,7 @@
 		debian/tmp/usr/bin/exo-desktop-item-edit \
 		debian/tmp/usr/bin/exo-open \
 		debian/tmp/usr/bin/exo-mount \
-		debian/tmp/usr/lib/libexo-$(EXO_VERSION)-$(EXO_SOVERSION)/exo-helper-$(EXO_LIBNAME) \
+		debian/tmp/usr/lib/$(EXO_SONAME)/exo-helper-$(EXO_LIBNAME) \
 		debian/tmp/usr/lib/libexo-$(EXO_LIBNAME)*.so.* \
 		debian/tmp/usr/lib/libexo-hal-$(EXO_LIBNAME)*.so.* \
 
@@ -80,8 +81,7 @@
 	dh_installexamples
 	dh_install --fail-missing --sourcedir=debian/tmp
 	dh_link
-	dh_strip -p libexo-$(EXO_LIBNAME)-$(EXO_SOVERSION) \
-		--dbg-package=libexo-$(EXO_LIBNAME)-$(EXO_SOVERSION)-dbg
+	dh_strip -p $(EXO_SONAME) --dbg-package=$(EXO_SONAME)-dbg
 	dh_strip -p exo-utils --dbg-package=exo-utils-dbg
 	dh_strip --remaining-packages
 




More information about the Pkg-xfce-commits mailing list