[Glibc-bsd-commits] r2452 - trunk/libvolume-id/debian

Guillem Jover guillem at alioth.debian.org
Fri Apr 17 23:50:30 UTC 2009


Author: guillem
Date: 2009-04-17 23:50:30 +0000 (Fri, 17 Apr 2009)
New Revision: 2452

Modified:
   trunk/libvolume-id/debian/changelog
   trunk/libvolume-id/debian/rules
Log:
Use $(filter ...) instead of $(findstring ...)

To extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/libvolume-id/debian/changelog
===================================================================
--- trunk/libvolume-id/debian/changelog	2009-04-17 23:49:08 UTC (rev 2451)
+++ trunk/libvolume-id/debian/changelog	2009-04-17 23:50:30 UTC (rev 2452)
@@ -3,6 +3,8 @@
   * Switch to debhelper compatibility level 7.
   * Swith to use dh_bugfiles to install the bug control file.
   * Redirect bug report submissions to the libvolume-id package.
+  * Use $(filter ...) instead of $(findstring ...) to extract space separated
+    options from DEB_BUILD_OPTIONS in debian/rules.
 
  -- Guillem Jover <guillem at debian.org>  Mon, 09 Feb 2009 22:37:07 +0200
 

Modified: trunk/libvolume-id/debian/rules
===================================================================
--- trunk/libvolume-id/debian/rules	2009-04-17 23:49:08 UTC (rev 2451)
+++ trunk/libvolume-id/debian/rules	2009-04-17 23:50:30 UTC (rev 2452)
@@ -12,7 +12,7 @@
 
 CFLAGS = -Wall -g
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2




More information about the Glibc-bsd-commits mailing list