Author: pabs
Date: 2011-12-15 08:04:47 +0000 (Thu, 15 Dec 2011)
New Revision: 12989

Modified:
   packages/trunk/megaglest/debian/control
   packages/trunk/megaglest/debian/rules
Log:
add a debug package

Modified: packages/trunk/megaglest/debian/control
===================================================================
--- packages/trunk/megaglest/debian/control     2011-12-15 07:37:32 UTC (rev 
12988)
+++ packages/trunk/megaglest/debian/control     2011-12-15 08:04:47 UTC (rev 
12989)
@@ -61,3 +61,14 @@
  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.

Modified: packages/trunk/megaglest/debian/rules
===================================================================
--- packages/trunk/megaglest/debian/rules       2011-12-15 07:37:32 UTC (rev 
12988)
+++ packages/trunk/megaglest/debian/rules       2011-12-15 08:04:47 UTC (rev 
12989)
@@ -7,6 +7,10 @@
        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
 


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to