The following commit has been merged in the master branch: commit 66878998e7b88adae11692169db0f400fee663c6 Author: Paul Wise <[EMAIL PROTECTED]> Date: Fri Jul 4 23:28:10 2008 +0800
Honour noopt, nostrip, parallel=n in DEB_BUILD_OPTIONS this brings us into line with policy, update Standards-Version diff --git a/debian/changelog b/debian/changelog index ac509da..391c607 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,8 @@ xgalaga (2.1.1.0-3) UNRELEASED; urgency=low * Give the CREDITS file correct permissions, add symlink in /usr/share/doc * Drop conflict on suidmanager as it was removed from Debian in 2003! * Drop empty and unused /var/games directory from the package + * Honour noopt, nostrip, parallel=n in DEB_BUILD_OPTIONS + - this brings us into line with policy, update Standards-Version -- Paul Wise <[EMAIL PROTECTED]> Thu, 03 Jul 2008 00:41:47 +0800 diff --git a/debian/control b/debian/control index a4bcb4d..4942ae6 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Build-Depends: debhelper (>= 5), libx11-dev, libxmu-dev, libxpm-dev, x11proto-core-dev, dpkg-dev (>= 1.9.0), libxxf86vm-dev, libxxf86dga-dev, autotools-dev Maintainer: Debian Games Team <[EMAIL PROTECTED]> Uploaders: Paul Wise <[EMAIL PROTECTED]> -Standards-Version: 3.7.3 +Standards-Version: 3.8.0 Homepage: http://sourceforge.net/projects/xgalaga/ Vcs-Git: git://git.debian.org/git/pkg-games/xgalaga.git diff --git a/debian/rules b/debian/rules index f7d5209..d8a1c8c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,17 @@ #!/usr/bin/make -f -export CFLAGS=-O2 -g -DXF86VIDMODE +export CFLAGS=-g -DXF86VIDMODE export LDFLAGS=-lXxf86vm + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif build: build-stamp build-stamp: @@ -10,7 +20,7 @@ build-stamp: ln -sf /usr/share/misc/config.guess ./configure \ --prefix=/usr/share/games/xgalaga \ - --exec-prefix=/usr/games + --exec-prefix=/usr/games CFLAGS="$(CFLAGS)" # hack SOUNDDEFS so we don't need symlinks $(MAKE) SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$$\(SOUNDSRV\)\\\" touch build-stamp -- Packaging for Xgalaga _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits