[SCM] Packaging for quakespasm branch, master, updated. upstream/0.85.4-34-g025c323
Simon McVittie
smcv at debian.org
Sat Jul 9 22:11:25 UTC 2011
The following commit has been merged in the master branch:
commit 025c323d0e53ce8aef14f97dc43a578b01497445
Author: Simon McVittie <smcv at debian.org>
Date: Sat Jul 9 23:10:41 2011 +0100
Add support for noopt and make the -dbg package work
diff --git a/debian/rules b/debian/rules
index d6bdbe5..e5ff2d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,19 @@ DESTDIR = $(CURDIR)/debian/quakespasm
%:
dh $@
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+maybe_debug = DEBUG=0
+else
+maybe_debug = DEBUG=1
+endif
+
override_dh_auto_clean:
make -C Quake clean
override_dh_auto_build:
- make -C Quake
+ make -C Quake \
+ $(maybe_debug) \
+ STRIP=": do not strip:"
override_dh_auto_install:
install -d $(DESTDIR)/usr/games
@@ -17,3 +25,6 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs debian/upstream-changelog
+
+override_dh_strip:
+ dh_strip --dbg-package=quakespasm-dbg
--
Packaging for quakespasm
More information about the Pkg-games-commits
mailing list