Adding debug package.
authorDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 17:47:48 +0000 (19:47 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 17:47:48 +0000 (19:47 +0200)
debian/control
debian/rules

index 8165a06..350ffc9 100644 (file)
@@ -39,3 +39,14 @@ Description: LXDE panel
     For example, "lxpanelctl run" will show the Run dialog in lxpanel,
     and "lxpanelctl menu" will show the application menu. This is
     useful in combination with window manager key bindings.
+
+Package: lxpanel-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, lxpanel (= ${binary:Version})
+Description: LXDE panel (debug)
+ LXPanel is a GUI application for the Lightweight X11 Desktop Environment
+ (LXDE).
+ .
+ This package contains the debugging symbols.
index 6a990c4..e6b7414 100755 (executable)
@@ -23,8 +23,14 @@ else
        dh_auto_configure -- --enable-man --with-plugins=netstatus,volume,volumealsa,cpu,deskno,batt,kbled,xkb,thermal,cpufreq,monitors,wnckpager
 endif
 
+override_dh_auto_install:
+       dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxpanel
+
 override_dh_auto_test:
        # disabled: test fails in po directory
 
 override_dh_builddeb:
        dh_builddeb -- -Zxz -z9
+
+override_dh_strip:
+       dh_strip --dbg-package=lxpanel-dbg