]> err.no Git - util-linux/commitdiff
Drop old cruft wrt calling dh_strip
authorTollef Fog Heen <tfheen@err.no>
Fri, 25 Feb 2011 13:31:15 +0000 (14:31 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 25 Feb 2011 13:31:15 +0000 (14:31 +0100)
dh_strip is smart enough to pick up the contents of DEB_BUILD_OPTIONS
itself, so always call it.

debian/rules

index d37c26983dff1db8d59e73128cad91face732d7b..f9a85362213d40fe7795af0b0008569479079e2a 100755 (executable)
@@ -15,10 +15,6 @@ else
 CROSS=
 endif
 
-ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-STRIP=y
-endif
-
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 NUMJOBS := -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
@@ -192,7 +188,7 @@ binary-arch: build install
        dh_testroot -s
        dh_lintian -s
        dh_installinit -s -- defaults 15 85
-       [ -n "$(STRIP)" ] || dh_strip -s
+       dh_strip -s
        dh_makeshlibs -s
        dh_installdebconf -s
        dh_installdeb -s