Add creating a debug package to the package build process.

This commit is contained in:
Robert James Clay 2011-11-10 18:54:26 +00:00
parent 8441e57bdb
commit 2e4350d03e
2 changed files with 13 additions and 4 deletions

13
debian/control vendored
View File

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Stas Degteff <stas_degteff@users.sourceforge.net> Maintainer: Stas Degteff <stas_degteff@users.sourceforge.net>
Uploaders: RJ Clay <jame@users.sourceforge.net> Uploaders: RJ Clay <jame@users.sourceforge.net>
Homepage: http://golded-plus.sourceforge.net Homepage: http://golded-plus.sourceforge.net
Build-Depends: debhelper (>= 7), libncurses5-dev Build-Depends: debhelper (>= 7.0.50), libncurses5-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.1
Vcs-Browser: http://golded-plus.cvs.sourceforge.net/golded-plus Vcs-Browser: http://golded-plus.cvs.sourceforge.net/golded-plus
@ -14,3 +14,14 @@ Depends: ${shlibs:Depends}
Description: Golded+ - an FTN message editor Description: Golded+ - an FTN message editor
GoldED+ is popular Fidonet mail editor. GoldED+ is popular Fidonet mail editor.
It supports message bases: OPUS, JAM, Squish, FrontDoor and more other. It supports message bases: OPUS, JAM, Squish, FrontDoor and more other.
Package: goldedplus-dbg
Architecture: any
Section: debug
Priority: extra
Depends: goldedplus (= ${binary:Version}), ${misc:Depends}
Description: debugging symbols for Golded+
GoldED+ is popular Fidonet mail editor.
It supports message bases: OPUS, JAM, Squish, FrontDoor and more other.
.
This package contains the debugging symbols for goldedplus.

4
debian/rules vendored
View File

@ -117,9 +117,7 @@ binary-arch: build install
# dh_undocumented # dh_undocumented
dh_installchangelogs -k docs/notework.txt dh_installchangelogs -k docs/notework.txt
dh_link dh_link
ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) dh_strip --dbg-package=goldedplus-dbg
dh_strip
endif
dh_compress dh_compress
dh_fixperms dh_fixperms
# dh_makeshlibs # dh_makeshlibs