r14692 - in /desktop/unstable/libgnomecanvasmm2.6/debian: changelog rules

manphiz-guest at users.alioth.debian.org manphiz-guest at users.alioth.debian.org
Tue Feb 19 11:51:57 UTC 2008


Author: manphiz-guest
Date: Tue Feb 19 11:51:57 2008
New Revision: 14692

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14692
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.
* Remove compression exclude rule, as it's usually harmless to live
  without it.

Modified:
    desktop/unstable/libgnomecanvasmm2.6/debian/changelog
    desktop/unstable/libgnomecanvasmm2.6/debian/rules

Modified: desktop/unstable/libgnomecanvasmm2.6/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomecanvasmm2.6/debian/changelog?rev=14692&op=diff
==============================================================================
--- desktop/unstable/libgnomecanvasmm2.6/debian/changelog (original)
+++ desktop/unstable/libgnomecanvasmm2.6/debian/changelog Tue Feb 19 11:51:57 2008
@@ -9,8 +9,13 @@
   * Refine build-dependencies as per upstream configure script, and drop
     -1 postfix in version as per lintian.
   * Add ${shlibs:Depends} to -dev package.
+  * 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.
+  * Remove compression exclude rule, as it's usually harmless to live
+    without it.
 
- -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Wed, 13 Feb 2008 21:06:13 +0800
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Tue, 19 Feb 2008 19:50:31 +0800
 
 libgnomecanvasmm2.6 (2.20.0-3) unstable; urgency=low
 

Modified: desktop/unstable/libgnomecanvasmm2.6/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomecanvasmm2.6/debian/rules?rev=14692&op=diff
==============================================================================
--- desktop/unstable/libgnomecanvasmm2.6/debian/rules (original)
+++ desktop/unstable/libgnomecanvasmm2.6/debian/rules Tue Feb 19 11:51:57 2008
@@ -11,21 +11,17 @@
 
 GNOME_MODULE := libgnomecanvasmm
 
-DEB_COMPRESS_EXCLUDE += reference
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnomecanvasmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnomecanvasmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.14.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_libgnomecanvasmm-2.6-1c2a := \
-	-V"libgnomecanvasmm-2.6-1c2a (>= 2.14.0)"
-
-DEB_INSTALL_DOCS_libgnomecanvasmm-2.6-doc += \
-	-XMakefile -XDoxyfile -Xfragment -X.in -X.am
-
-DEB_INSTALL_EXAMPLES_libgnomecanvasmm-2.6-doc += \
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V"$(SHARE_PKG) (>= $(SHVER))"
+DEB_INSTALL_DOCS_$(DOC_PKG) += -XMakefile -XDoxyfile -Xfragment -X.in -X.am
+DEB_INSTALL_EXAMPLES_$(DOC_PKG) += \
 	-Xfragment -X.deps -X.libs -X.o -X.in -X.am \
 	-X examples/README
 




More information about the pkg-gnome-commits mailing list