r14686 - in /desktop/unstable/libglademm2.4/debian: changelog rules

manphiz-guest at users.alioth.debian.org manphiz-guest at users.alioth.debian.org
Tue Feb 19 10:34:37 UTC 2008


Author: manphiz-guest
Date: Tue Feb 19 10:34:37 2008
New Revision: 14686

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14686
Log:
* Refined debian/rules to set variables SHARD_PKG and DOC_PKG by sed
  from debian/control and use variable SHVER for shlibs version, and
  refine and reformat corresponding rules accordingly.

Modified:
    desktop/unstable/libglademm2.4/debian/changelog
    desktop/unstable/libglademm2.4/debian/rules

Modified: desktop/unstable/libglademm2.4/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libglademm2.4/debian/changelog?rev=14686&op=diff
==============================================================================
--- desktop/unstable/libglademm2.4/debian/changelog (original)
+++ desktop/unstable/libglademm2.4/debian/changelog Tue Feb 19 10:34:37 2008
@@ -1,3 +1,11 @@
+libglademm2.4 (2.6.6-2) UNRELEASED; urgency=low
+
+  * Refined debian/rules to set variables SHARD_PKG and DOC_PKG by sed
+    from debian/control and use variable SHVER for shlibs version, and
+    refine and reformat corresponding rules accordingly.
+
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Tue, 19 Feb 2008 18:32:06 +0800
+
 libglademm2.4 (2.6.6-1) unstable; urgency=low
 
   * New upstream release.

Modified: desktop/unstable/libglademm2.4/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libglademm2.4/debian/rules?rev=14686&op=diff
==============================================================================
--- desktop/unstable/libglademm2.4/debian/rules (original)
+++ desktop/unstable/libglademm2.4/debian/rules Tue Feb 19 10:34:37 2008
@@ -10,14 +10,14 @@
 
 GNOME_MODULE := libglademm
 
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgladmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgladmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.6.0
+
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
-
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-
-DEB_DH_MAKESHLIBS_ARGS_libglademm-2.4-1c2a += \
-	-V"libglademm-2.4-1c2a (>= 2.6.0)"
-
-DEB_INSTALL_EXAMPLES_libglademm-2.4-doc += \
+DEB_DH_MAKESHLIBS_ARGS_ALL += -V"$(SHARED_PKG) (>= $(SHVER))"
+DEB_INSTALL_EXAMPLES_$(DOC_PKG) += \
 	-Xfragment -X.deps -X.libs -X.o -X.in -X.am




More information about the pkg-gnome-commits mailing list