From b0322a827dc1e21f8d28fb34fd56a02e3de2fbd9 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Tue, 15 Jan 2013 00:50:22 +0000 Subject: Add -DBG package. Closes: #687213 --- debian/control | 14 ++++++++++++++ debian/rules | 9 +++++++++ 2 files changed, 23 insertions(+) diff --git a/debian/control b/debian/control index f8b298f..5562f61 100644 --- a/debian/control +++ b/debian/control @@ -43,3 +43,17 @@ Description: Simple Scanning Utility Simple Scan is basically a frontend for SANE - which is the same backend as XSANE uses. This means that all existing scanners will work and the interface is well tested. + +Package: simple-scan-dbg +Section: debug +Priority: extra +Architecture: any +Depends: + simple-scan (= ${binary:Version}), + ${misc:Depends} +Description: Simple Scanning Utility - debugging symbols + Simple Scan is an easy-to-use application, designed to let users + connect their scanner and quickly have the image/document in an + appropriate format. + . + This package provides the debugging symbols for simple-scan. diff --git a/debian/rules b/debian/rules index da46680..a8f1754 100755 --- a/debian/rules +++ b/debian/rules @@ -23,3 +23,12 @@ override_dh_auto_configure: override_dh_auto_build: cd po; intltool-update -p dh_auto_build + +override_dh_strip: + dh_strip -psimple-scan --dbg-package=simple-scan + +override_dh_auto_install + dh_auto_install --destdir=debian/simple-scan + +override_dh_installdocs: + dh_installdocs --link-doc=simple-scan -- cgit v1.2.3