debian: look for quota.pc and libquota.a from root of install tree

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-1.42.9
Filipe Brandenburger 2012-12-14 20:54:13 -08:00 committed by Theodore Ts'o
parent 9aaa4eabd1
commit efd968732c
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -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