r14693 - in /desktop/unstable/libgnomeuimm2.6/debian: changelog rules
manphiz-guest at users.alioth.debian.org
manphiz-guest at users.alioth.debian.org
Tue Feb 19 11:54:57 UTC 2008
Author: manphiz-guest
Date: Tue Feb 19 11:54:56 2008
New Revision: 14693
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14693
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/libgnomeuimm2.6/debian/changelog
desktop/unstable/libgnomeuimm2.6/debian/rules
Modified: desktop/unstable/libgnomeuimm2.6/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomeuimm2.6/debian/changelog?rev=14693&op=diff
==============================================================================
--- desktop/unstable/libgnomeuimm2.6/debian/changelog (original)
+++ desktop/unstable/libgnomeuimm2.6/debian/changelog Tue Feb 19 11:54:56 2008
@@ -1,3 +1,13 @@
+libgnomeuimm2.6 (2.20.2-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.
+ * Remove compression exclude rule, as it's usually harmless to live
+ without it.
+
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org> Tue, 19 Feb 2008 19:53:49 +0800
+
libgnomeuimm2.6 (2.20.2-1) unstable; urgency=low
* New upstream version.
Modified: desktop/unstable/libgnomeuimm2.6/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomeuimm2.6/debian/rules?rev=14693&op=diff
==============================================================================
--- desktop/unstable/libgnomeuimm2.6/debian/rules (original)
+++ desktop/unstable/libgnomeuimm2.6/debian/rules Tue Feb 19 11:54:56 2008
@@ -10,22 +10,17 @@
GNOME_MODULE := libgnomeuimm
-DEB_COMPRESS_EXCLUDE += reference
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnomeuimm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgnomeuimm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.16.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_libgnomeuimm-2.6-1c2a += \
- -V"libgnomeuimm-2.6-1c2a (>= 2.16.0)"
-
-DEB_INSTALL_DOCS_libgnomeuimm-2.6-doc += \
- -XMakefile -XDoxyfile -Xfragment -X.in -X.am
-
-DEB_INSTALL_EXAMPLES_libgnomeuimm-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/libgnomeuimm-2.6-doc::
$(MAKE) -C docs/reference
More information about the pkg-gnome-commits
mailing list