r16420 - in /desktop/unstable/scrollkeeper/debian: changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Tue Jul 1 16:46:45 UTC 2008
Author: lool
Date: Tue Jul 1 16:46:45 2008
New Revision: 16420
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16420
Log:
Don't hardcode libscrollkeeper0 in rules.
Modified:
desktop/unstable/scrollkeeper/debian/changelog
desktop/unstable/scrollkeeper/debian/rules
Modified: desktop/unstable/scrollkeeper/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/scrollkeeper/debian/changelog?rev=16420&op=diff
==============================================================================
--- desktop/unstable/scrollkeeper/debian/changelog (original)
+++ desktop/unstable/scrollkeeper/debian/changelog Tue Jul 1 16:46:45 2008
@@ -1,3 +1,9 @@
+scrollkeeper (0.3.14-17) UNRELEASED; urgency=low
+
+ * Don't hardcode libscrollkeeper0 in rules.
+
+ -- Loic Minier <lool at dooz.org> Tue, 01 Jul 2008 18:46:28 +0200
+
scrollkeeper (0.3.14-16) unstable; urgency=low
[ Bradley Smith ]
Modified: desktop/unstable/scrollkeeper/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/scrollkeeper/debian/rules?rev=16420&op=diff
==============================================================================
--- desktop/unstable/scrollkeeper/debian/rules (original)
+++ desktop/unstable/scrollkeeper/debian/rules Tue Jul 1 16:46:45 2008
@@ -1,4 +1,6 @@
#!/usr/bin/make -f
+
+libskN := $(shell sed -rn 's/^Package:[[:space:]]*(libscrollkeeper[0-9]+)[[:space:]]*$$/\1/p' debian/control)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
@@ -7,8 +9,8 @@
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
DEB_COMPRESS_EXCLUDE += usr/share/doc/scrollkeeper/html/scrollkeeper_manual/C/scrollkeeper_manual.sgml
-DEB_DH_MAKESHLIBS_ARGS_libscrollkeeper0 += -V 'libscrollkeeper0 (>= 0.3.8)'
-DEB_SHLIBDEPS_INCLUDE += debian/libscrollkeeper0/usr/lib
+DEB_DH_MAKESHLIBS_ARGS_$(libskN) += -V '$(libskN) (>= 0.3.8)'
+DEB_SHLIBDEPS_INCLUDE += debian/$(libskN)/usr/lib
clean::
# remove generated xml files
@@ -19,7 +21,7 @@
binary-post-install/libscrollkeeper-dev::
rm -rf debian/libscrollkeeper-dev/usr/share/doc
- dh_link -plibscrollkeeper-dev usr/share/doc/libscrollkeeper0 usr/share/doc/libscrollkeeper-dev
+ dh_link -plibscrollkeeper-dev usr/share/doc/$(libskN) usr/share/doc/libscrollkeeper-dev
gzip -9 debian/tmp/usr/share/man/man1/scrollkeeper-config.1
gzip -9 debian/tmp/usr/share/man/man1/scrollkeeper-gen-seriesid.1
gzip -9 debian/tmp/usr/share/man/man5/scrollkeeper.conf.5
More information about the pkg-gnome-commits
mailing list