From efd968732ce068ddefe399775724ee6a26550e04 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Fri, 14 Dec 2012 20:54:13 -0800 Subject: [PATCH] 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 Signed-off-by: "Theodore Ts'o" --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 670ea9d..4e5c682 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 1.8.3.1