diff --git a/debian/rules b/debian/rules
index c8284308545666c3c5b23d6a99dfd751bcfbccdb..df6bacf06592194cfbc16a8038304356cbfaf74a 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
dh_install --sourcedir=debian/tmp --list-missing
dh_installman debian/pfsglview.1
dh_link
- dh_strip
+ dh_strip --dbg-package=pfstools-dbg
+ # mkoctfile removes any symbol table and relocation information from the
+ # .oct files making them unusable for the -dbg package
+ rm -rf debian/pfstools-dbg/usr/lib/debug/usr/lib/octave/
dh_compress -X.pdf
dh_fixperms
dh_makeshlibs