[megaglest] 26/143: add a debug package

Markus Koschany apo-guest at moszumanska.debian.org
Sat Jan 31 20:46:05 UTC 2015


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

apo-guest pushed a commit to branch master
in repository megaglest.

commit d2498693a34af71407a8984788a86c058453d64a
Author: Paul Wise <pabs at debian.org>
Date:   Thu Dec 15 08:04:47 2011 +0000

    add a debug package
---
 debian/control | 11 +++++++++++
 debian/rules   |  4 ++++
 2 files changed, 15 insertions(+)

diff --git a/debian/control b/debian/control
index 5d2c8ae..ef97607 100644
--- a/debian/control
+++ b/debian/control
@@ -61,3 +61,14 @@ Description: 3D multi-player real time strategy game
  The current version is fully playable and supports both single player
  games against CPU controlled players and multiplayer matches over the
  Internet or a LAN.
+
+Package: megaglest-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: megaglest (= ${binary:Version})
+Description: debug files for MegaGlest
+ This package contains debug information for the MegaGlest game.
+ .
+ It can be used to debug MegaGlest using GDB if the game crashes
+ due to programming errors.
diff --git a/debian/rules b/debian/rules
index 70c0645..8589206 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ override_dh_auto_configure:
 	rm -rf source/shared_lib/include/platform/miniupnpc
 	rm -rf source/shared_lib/sources/platform/miniupnpc
 	dh_auto_configure -- -DMEGAGLEST_DATA_INSTALL_PATH=share/games/megaglest/ -DMINIUPNPC_VERSION_PRE1_6=On
+
+override_dh_strip:
+	dh_strip --dbg-package=megaglest-dbg
+
 %:
 	dh $@ --parallel
 

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



More information about the Pkg-games-commits mailing list