]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: don't bomb out if DEB_BUILD_OPTIONS contains nostrip
authorTheodore Ts'o <tytso@mit.edu>
Sun, 25 Sep 2011 19:40:24 +0000 (15:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 25 Sep 2011 19:40:24 +0000 (15:40 -0400)
The debugging packages will contain no debugging symbols (since they
are in the unstripped executables and libraries) but at least the
build won't crash.

Addresses-Debian-Bug: #627535

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules

index 84643b5e55ecc28f24c4621e4f29f7438028710f..6b55b909d36218f5e6ea4862da22206480e827b7 100755 (executable)
@@ -499,6 +499,7 @@ ifneq ($(UTIL_LINUX_NG),yes)
        rm -rf ${uuidudebdir}/usr
 endif
 
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        mkdir -p ${debugdir}/$(USRLIB)
        mv ${maindir}/usr/lib/debug ${debugdir}/$(USRLIB)
        rm -rf ${maindir}/usr/lib/debug
@@ -532,6 +533,7 @@ ifneq ($(UTIL_LINUX_NG),yes)
        mkdir -p ${libblkiddbgdir}/$(USRLIB)
        mv ${libblkiddir}/usr/lib/debug ${libblkiddbgdir}/$(USRLIB)
        rmdir ${libblkiddir}/usr/lib
+endif
 endif
 
        # dpkg symbol handling