summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-01-15 00:50:22 +0000
committerAlessio Treglia <alessio@debian.org>2013-01-15 00:50:22 +0000
commitb0322a827dc1e21f8d28fb34fd56a02e3de2fbd9 (patch)
tree18fe4e3f555e645abc29958673370aee9917bc60 /debian
parent8f1bef0c8abe53da0001b0d4df1f5439fecd9c3b (diff)
Add -DBG package.
Closes: #687213
Diffstat (limited to 'debian')
-rw-r--r--debian/control14
-rwxr-xr-xdebian/rules9
2 files changed, 23 insertions, 0 deletions
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