diff --git a/debian/control b/debian/control index fd0f26b..969fa73 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: flexnbd Section: unknown Priority: extra Maintainer: Alex Young -Build-Depends: cdbs, debhelper (>= 7), ruby, rake, gcc +Build-Depends: cdbs, debhelper (>= 7.0.50), ruby, rake, gcc Standards-Version: 3.8.1 Homepage: http://bigv.io/ @@ -12,3 +12,14 @@ Depends: ${shlibs:Depends}, ${misc:Depends} Description: FlexNBD server 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. diff --git a/debian/rules b/debian/rules index ccdeb01..2aba466 100755 --- a/debian/rules +++ b/debian/rules @@ -12,3 +12,7 @@ override_dh_auto_build: override_dh_auto_clean: rake clean + +.PHONY: override_dh_strip +override_dh_strip: + dh_strip --dbg-package=flexnbd-dbg