OSDN Git Service

debian: look for quota.pc and libquota.a from root of install tree
authorFilipe Brandenburger <filbranden@google.com>
Sat, 15 Dec 2012 04:54:13 +0000 (20:54 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 28 Dec 2012 18:16:27 +0000 (13:16 -0500)
The rules makefile was already using `find' in order to cope with
multi-arch directories under /usr/lib. This patch changes it to look for
those files from the root of the install tree. This allows for
installing to libdirs of /usr/lib64 or /lib or /lib64. There are no
other files with the same names in the package so it's not a problem to
find from the root of the tree.

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

index 670ea9d..4e5c682 100755 (executable)
@@ -406,7 +406,7 @@ endif
 
   # remove static quota library for now
        rm ${tmpdir}/usr/include/quota/mkquota.h
-       find ${tmpdir}/usr/lib -name quota.pc -o -name libquota.a | xargs rm
+       find ${tmpdir} -name quota.pc -o -name libquota.a | xargs rm
 
 ifeq ($(DEB_BUILD_GNU_SYSTEM), gnu) 
        ${INSTALL} -m 0644 misc/mke2fs-hurd.conf ${tmpdir}/etc/mke2fs.conf