From 6fae9866f4502212de3d7979dc620f93d61e7e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= Date: Wed, 19 Aug 2015 18:41:41 +0800 Subject: [PATCH] Add qterminal-dbg --- debian/control | 12 ++++++++++++ debian/rules | 25 ++----------------------- 2 files changed, 14 insertions(+), 23 deletions(-) diff --git a/debian/control b/debian/control index 1aa8aa7..6a16a4e 100644 --- a/debian/control +++ b/debian/control @@ -30,3 +30,15 @@ Depends: Replaces: qterminal-qt5 Description: QT-based multitab terminal emulator Based on QTermWidget by e_k@users.sourceforge.net + +Package: qterminal-dbg +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + libqtermwidget5-0, +Replaces: qterminal-qt5 +Description: QT-based multitab terminal emulator (debug symbols) + Based on QTermWidget by e_k@users.sourceforge.net + . + This package contains debug symbols for qterminal. diff --git a/debian/rules b/debian/rules index bee1a56..a500036 100755 --- a/debian/rules +++ b/debian/rules @@ -1,32 +1,11 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 - %: dh $@ --buildsystem cmake --parallel --with quilt - override_dh_auto_configure: dh_auto_configure -- -DUSE_QT5=1 -DUSE_SYSTEM_QXT=0 -DBUILD_DESIGNER_PLUGIN=0 - -maintainer-clean: - $(RM) -r checkout - $(RM) -r backport - $(RM) *.build - $(RM) *.changes - $(RM) *.deb - $(RM) *.dsc - $(RM) *.tar.gz - $(RM) *.upload - -checkout: maintainer-clean - git clone --depth 1 git://github.com/qterminal/qterminal.git checkout; \ - cd checkout; \ - cp -a ../debian .; \ - echo ""; \ - git log -1 | head; \ - echo "" - -backport: checkout - mv checkout backport +override_dh_strip: + dh_strip --dbg-package=qterminal-dbg