From 9fae5ee932d9e0858f05e93379fb9f29d29beea2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 13 Feb 2013 20:22:53 +0100 Subject: debian: Add debug packages with the debug symbols --- debian/control | 6 ++++++ debian/rules | 3 +++ 2 files changed, 9 insertions(+) (limited to 'debian') diff --git a/debian/control b/debian/control index 1082831..dec5939 100644 --- a/debian/control +++ b/debian/control @@ -19,3 +19,9 @@ Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Osmocom SCCP library + +Package: libosmo-sccp-dbg +Section: debug +Architecture: any +Depends: libosmo-sccp (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for Osmocom SCCP library diff --git a/debian/rules b/debian/rules index fb879ef..25c73fa 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,9 @@ VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') %: dh --with autoreconf $@ +override_dh_strip: + dh_strip --dbg-package=libosmo-sccp-dbg + override_dh_autoreconf: echo $(VERSION) > .tarball-version dh_autoreconf -- cgit v1.2.3