On Fri, Oct 24, 2008 at 09:46:25PM +0200, thomas schorpp wrote:
> Tzafrir Cohen schrieb:

> > Does the callweaver binary have debug information or is it stripped?
> 
> dh_strip
> 
> > 
> > If you use debs, use a -dbg package.
> 
> current debian/ scripts included do not build one.
> 

dh_strip --dbg-package=callweaver-dbg

and add a (binary) package called callweaver-dbg in the control .

diff --git a/debian/control b/debian/control
index 10fb21a..779b39e 100644
--- a/debian/control
+++ b/debian/control
@@ -33,6 +33,17 @@ Description: Development files for Callweaver
  This package contains the include files used if you wish to compile a
  package which requires Callweaver source file headers.

+Package: callweaver-dev
+Section: devel
+Priority: extra
+Architecture: any
+Depends: Depends: callweaver (= ${binary:Version})
+Description: Development files for Callweaver
+ Callweaver is an Open Source PBX and telephony toolkit.
+ .
+ This package contains the debugging symbols for modules. Use it if you want
+ to run callweaver under a debugger.
+
 Package: callweaver-doc
 Recommends: callweaver
 Section: doc
diff --git a/debian/rules b/debian/rules
index 5c1fde4..1c5d6c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -169,7 +169,7 @@ binary-arch: install
 #      dh_installinfo -a
 #      dh_installman  -a
        dh_link -a
-       dh_strip -a
+       dh_strip -a --dbg-package=callweaver-dbg
        dh_compress -a
        dh_fixperms -a
 #      dh_perl -a

-- 
               Tzafrir Cohen
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to