From: Denis Briand Date: Mon, 28 Dec 2015 01:17:21 +0000 (+0100) Subject: Provide debugging symbols with a new abook-dbg binary package X-Git-Tag: debian/0.6.1-1~11 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=287ef29d08a67b7f342b8446c6c6f2e53251f5c8;p=pkg%2Fabook.git Provide debugging symbols with a new abook-dbg binary package --- diff --git a/debian/changelog b/debian/changelog index 113823d..bd6efc2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ abook (0.6.1-1) unstable; urgency=medium * Use dh_autoreconf. * Remove autotools-dev build dependency. * Remove merged patch 03_datafile-f-switch. + * Provide debugging symbols with a new abook-dbg binary package. -- Rhonda D'Vine Fri, 14 Aug 2015 11:34:47 +0200 diff --git a/debian/control b/debian/control index 7db8430..f60a0b4 100644 --- a/debian/control +++ b/debian/control @@ -17,3 +17,16 @@ Description: text-based ncurses address book application abook is a text-based ncurses address book application. It provides many different fields of user info. abook is designed for use with mutt, but can be used independently. + +Package: abook-dbg +Architecture: any +Depends: abook (=${binary:Version}), ${misc:Depends} +Priority: extra +Section: debug +Suggests: gdb +Description: text-based ncurses address book application + abook is a text-based ncurses address book application. It provides many + different fields of user info. abook is designed for use with mutt, but + can be used independently. + . + This package contains debugging symbols for abook. diff --git a/debian/rules b/debian/rules index db28c8f..10900f0 100755 --- a/debian/rules +++ b/debian/rules @@ -7,3 +7,13 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf + +#Place debugging symbols into abook-dbg package +override_dh_strip: + dh_strip --dbg-package=abook-dbg + +override_dh_auto_install: + dh_auto_install --destdir=debian/abook + +override_dh_installdocs: + dh_installdocs --link-doc=abook