[pkg-haskell-tools] 10/11: Disable dbgsym generation

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Sun Jul 24 20:52:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

iliastsi-guest pushed a commit to branch master
in repository pkg-haskell-tools.

commit d793e72e0d62f071925e9003ecb6e4fb84a68f96
Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
Date:   Sat Jul 23 17:55:45 2016 +0300

    Disable dbgsym generation
    
    GHC cannot produce debugging symbols, so the dbgsym package ends
    up being empty.
---
 debian/changelog | 3 +++
 debian/rules     | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ad35260..62ab97f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,9 @@ pkg-haskell-tools (0.10.4) unstable; urgency=medium
   * Bump standards version to 3.9.8 (no changes required)
   * Update 'Source' field on d/copyright
     The package is not hosted on hackage.
+  * Disable dbgsym generation
+    GHC cannot produce debugging symbols, so the dbgsym package ends
+    up being empty.
 
  -- Ilias Tsitsimpis <i.tsitsimpis at gmail.com>  Sat, 23 Jul 2016 17:09:36 +0300
 
diff --git a/debian/rules b/debian/rules
index 287cb40..6df8255 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 DEB_DEFAULT_COMPILER = ghc
 
+# GHC cannot produce debugging symbols so the dbgsym package
+# ends up being empty. Disable dbgsym generation.
+DEB_DH_STRIP_ARGS := --no-automatic-dbgsym
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git



More information about the Pkg-haskell-commits mailing list