Add a -dbg package to the debian build

This commit is contained in:
Alex Young
2012-09-12 15:42:58 +01:00
parent 239136064a
commit ccf5baa956
2 changed files with 16 additions and 1 deletions

13
debian/control vendored
View File

@@ -2,7 +2,7 @@ Source: flexnbd
Section: unknown Section: unknown
Priority: extra Priority: extra
Maintainer: Alex Young <alex@bytemark.co.uk> Maintainer: Alex Young <alex@bytemark.co.uk>
Build-Depends: cdbs, debhelper (>= 7), ruby, rake, gcc Build-Depends: cdbs, debhelper (>= 7.0.50), ruby, rake, gcc
Standards-Version: 3.8.1 Standards-Version: 3.8.1
Homepage: http://bigv.io/ Homepage: http://bigv.io/
@@ -12,3 +12,14 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
Description: FlexNBD server Description: FlexNBD server
An NBD server offering push-mirroring and intelligent sparse file handling An NBD server offering push-mirroring and intelligent sparse file handling
Package: flexnbd-dbg
Architecture: any
Section: debug
Priority: extra
Depends:
flexnbd (= ${binary:Version}),
${misc:Depends}
Description: debugging symbols for flexnbd
An NBD server offering push-mirroring and intelligent sparse file handling
.
This package contains the debugging symbols for flexnbd.

4
debian/rules vendored
View File

@@ -12,3 +12,7 @@ override_dh_auto_build:
override_dh_auto_clean: override_dh_auto_clean:
rake clean rake clean
.PHONY: override_dh_strip
override_dh_strip:
dh_strip --dbg-package=flexnbd-dbg