[SCM] Packaging for Tile World branch, master, updated. debian/1.3.0-3-7-g7669d72

Gerfried Fuchs rhonda at debian.at
Fri Sep 12 11:38:37 UTC 2008


The following commit has been merged in the master branch:
commit 7669d728ac944868c72bf957262a760297216fc0
Author: Gerfried Fuchs <rhonda at debian.at>
Date:   Fri Sep 12 13:38:01 2008 +0200

    Use filter instead of findstring for DEB_BUILD_OPTIONS parsing as suggested by policy.

diff --git a/debian/changelog b/debian/changelog
index c22ac9c..a740e6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,10 @@ tworld (1.3.0-4) unstable; urgency=low
   * Added Vcs-* informations to debian/control.
   * Split the architecture independent data files into its own tworld-data
     package.
+  * Use filter instead of findstring for DEB_BUILD_OPTIONS parsing as
+    suggested by policy.
 
- -- Gerfried Fuchs <rhonda at debian.at>  Fri, 12 Sep 2008 09:52:30 +0200
+ -- Gerfried Fuchs <rhonda at debian.at>  Fri, 12 Sep 2008 13:37:45 +0200
 
 tworld (1.3.0-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 69b8220..0946a35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,12 +22,12 @@ DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 CFLAGS  = -Wall -W -fomit-frame-pointer -DNDEBUG
 LDFLAGS = -Wall -W
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
 	LDFLAGS += -s
 endif
 

-- 
Packaging for Tile World



More information about the Pkg-games-commits mailing list