r14687 - in /desktop/unstable/gconfmm2.6/debian: changelog rules
manphiz-guest at users.alioth.debian.org
manphiz-guest at users.alioth.debian.org
Tue Feb 19 11:14:25 UTC 2008
Author: manphiz-guest
Date: Tue Feb 19 11:14:25 2008
New Revision: 14687
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14687
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/gconfmm2.6/debian/changelog
desktop/unstable/gconfmm2.6/debian/rules
Modified: desktop/unstable/gconfmm2.6/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gconfmm2.6/debian/changelog?rev=14687&op=diff
==============================================================================
--- desktop/unstable/gconfmm2.6/debian/changelog (original)
+++ desktop/unstable/gconfmm2.6/debian/changelog Tue Feb 19 11:14:25 2008
@@ -8,8 +8,11 @@
-1 postfix in version as per lintian.
* Add ${shlibs:Depends} to -dev package.
* Update watch version to 3.
+ * 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> Wed, 13 Feb 2008 20:54:04 +0800
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org> Tue, 19 Feb 2008 19:12:33 +0800
gconfmm2.6 (2.20.0-3) unstable; urgency=low
Modified: desktop/unstable/gconfmm2.6/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gconfmm2.6/debian/rules?rev=14687&op=diff
==============================================================================
--- desktop/unstable/gconfmm2.6/debian/rules (original)
+++ desktop/unstable/gconfmm2.6/debian/rules Tue Feb 19 11:14:25 2008
@@ -11,21 +11,17 @@
GNOME_MODULE := gconfmm
-DEB_COMPRESS_EXCLUDE += reference
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgconfmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgconfmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.14.2
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_libgconfmm-2.6-1c2 += -V"libgconfmm-2.6-1c2 (>= 2.14.2)"
-
-DEB_INSTALL_DOCS_libgconfmm-2.6-doc += \
- -XMakefile -XDoxyfile -Xfragment -X.in -X.am
-
-DEB_INSTALL_EXAMPLES_libgconfmm-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/libgconfmm-2.6-doc::
$(MAKE) -C docs/reference
More information about the pkg-gnome-commits
mailing list