From 5df55640aa2226165c3ec95a069ca7a8b67977cb Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 12 Jul 2014 20:57:57 +0000 Subject: [PATCH] Also clean *.la files in LIBEXEC, and recursively so, here and for TARGLIB. --- lang/gcc47/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 029c0a0f7782..b1f6e2f11553 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -135,7 +135,8 @@ full-regression-test: build .endif post-install: - ${RM} -f ${STAGEDIR}${TARGLIB}/*.la + ${FIND} ${STAGEDIR}${TARGLIB} ${STAGEDIR}${LIBEXEC} \ + -name '*.la' | ${XARGS} ${RM} ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1