debian: Harden and build debug packages

This commit is contained in:
Holger Hans Peter Freyther 2014-09-23 16:52:19 +02:00
parent 493ec593f7
commit f97f58deb2
2 changed files with 11 additions and 0 deletions

7
debian/control vendored
View File

@ -24,3 +24,10 @@ Depends: ${misc:Depends}, libgtp0
Architecture: any
Section: libdevel
Description: Development files for libgtp
Package: openggsn-dbg
Section: debug
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Debug symbols for OpenGGSN

4
debian/rules vendored
View File

@ -15,6 +15,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
export DEB_BUILD_HARDENING=1
CFLAGS = -Wall -g
@ -22,3 +23,6 @@ CFLAGS = -Wall -g
dh --with autoreconf $@
override_dh_auto_clean:
override_dh_strip:
dh_strip --dbg-package=openggsn-dbg