r14690 - in /desktop/unstable/gnome-vfsmm2.6/debian: changelog rules

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


Author: manphiz-guest
Date: Tue Feb 19 11:34:03 2008
New Revision: 14690

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14690
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/gnome-vfsmm2.6/debian/changelog
    desktop/unstable/gnome-vfsmm2.6/debian/rules

Modified: desktop/unstable/gnome-vfsmm2.6/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfsmm2.6/debian/changelog?rev=14690&op=diff
==============================================================================
--- desktop/unstable/gnome-vfsmm2.6/debian/changelog (original)
+++ desktop/unstable/gnome-vfsmm2.6/debian/changelog Tue Feb 19 11:34:03 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 20:55:57 +0800
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Tue, 19 Feb 2008 19:32:08 +0800
 
 gnome-vfsmm2.6 (2.20.0-3) unstable; urgency=low
 

Modified: desktop/unstable/gnome-vfsmm2.6/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfsmm2.6/debian/rules?rev=14690&op=diff
==============================================================================
--- desktop/unstable/gnome-vfsmm2.6/debian/rules (original)
+++ desktop/unstable/gnome-vfsmm2.6/debian/rules Tue Feb 19 11:34:03 2008
@@ -10,25 +10,20 @@
 
 GNOME_MODULE := gnome-vfsmm
 
-DEB_COMPRESS_EXCLUDE += reference
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnome-vfsmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnome-vfsmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.16.1
 
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
-
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-
 # TODO: current package name doesn't match the soname
 # 'libgnomevfsmm-2.6.so.1', which seems harmless now. Show be made
 # consistant on next soversion bump.
-DEB_DH_MAKESHLIBS_ARGS_libgnome-vfsmm-2.6-1c2a += \
-	-V"libgnome-vfsmm-2.6-1c2a (>= 2.16.1)"
-
-DEB_INSTALL_DOCS_libgnome-vfsmm-2.6-doc += \
-	-XMakefile -XDoxyfile -Xfragment -X.in -X.am
-
-DEB_INSTALL_EXAMPLES_libgnome-vfsmm-2.6-doc += \
-	-Xfragment -X.deps -X.libs -X.o -X.in -X.am
+DEB_DH_MAKESHLIBS_ARGS_ALL += -V"$(SHARED_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
 
 build/libgnome-vfsmm-2.6-doc::
 	$(MAKE) -C docs/reference




More information about the pkg-gnome-commits mailing list