summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-03 14:31:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-03 14:31:42 +0100
commit6f5d6e0bfa8e6f8a3de16e4d537abcce4e94547d (patch)
treee79df86cb7d2a961960265e2ae333955cbc85630 /debian/rules
parent27195517c5bfdbc8821bfd3c957b6c35d6c13544 (diff)
some work for the new release. see debian/changelog
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index d768ea6..ba2d2db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,8 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')
+
%:
dh $@ --with autoreconf
@@ -18,12 +20,12 @@ override_dh_installman:
dh_installman -plibonig-dev -A debian/onig-config.1
override_dh_strip:
- set -e; \
- for pkg in $(patsubst %-dbg,%,$(filter %-dbg,$(shell dh_listpackages))); do \
- dh_strip -p$${pkg} --dbg-package=$${pkg}-dbg; \
- done
- dh_strip -s --remaining-packages
+ dh_strip --dbg-package=libonig2-dbg
override_dh_install:
dh_install --fail-missing -X.la -X.a
+override_dh_makeshlibs:
+ dh_makeshlibs
+ dpkg-gensymbols -v$(VERSION) -plibonig2
+