From: Filipe Brandenburger Date: Sat, 15 Dec 2012 04:54:13 +0000 (-0800) Subject: debian: look for quota.pc and libquota.a from root of install tree X-Git-Tag: v1.42.7~63 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=efd968732ce068ddefe399775724ee6a26550e04;p=tools%2Fe2fsprogs.git 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" --- 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