summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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