Package: i8kutils
Version: 1.32
Severity: minor
Tags: patch

  I think the following is the more common structure in debian/rules
for debug,noopt,nostrip alternatives:

--- debian/rules    2009-09-17 20:36:51.000000000 +0100
+++ debian/rules        2009-09-17 20:40:15.000000000 +0100
@@ -1,12 +1,11 @@
 #!/usr/bin/make -f

-CFLAGS = -Wall -g
+CFLAGS := -Wall

-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
+DEB_BUILD_OPTIONS := 
+CFLAGS+=$(if $(findstring debug,$(DEB_BUILD_OPTIONS)),-g)
+CFLAGS+=$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
+CONFIGUREFLAGS+=$(if $(findstring 
nostrip,$(DEB_BUILD_OPTIONS)),,--enable-strip)

 build: build-stamp
 build-stamp:

-- 
sobtw...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to