From: Rod Grimes Date: Thu, 17 Jun 1993 02:01:11 +0000 (+0000) Subject: Make clean in src/lib/libc failed due to too many arguments to /bin/sh, X-Git-Tag: FreeBSD-release/1.1~2693 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/a33daf07fef7a9630760e3eba79035d7fbb5d40b Make clean in src/lib/libc failed due to too many arguments to /bin/sh, this was fixed for make cleandir in the patchkit, this fixes it for make clean. --- diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 44dbeed194..bc3494027a 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -7,6 +7,8 @@ # # 27 Apr 93 Rodney W. Grimes Break up cleandir so that we do not # overflow shell args +# $History$ +# $Log$ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -85,8 +87,9 @@ llib-l${LIB}.ln: ${SRCS} .if !target(clean) clean: - rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} ${POBJS} \ - ${MANALL} profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln + rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} \ + lib${LIB}.a llib-l${LIB}.ln ${MANALL} + rm -f ${POBJS} profiled/*.o lib${LIB}_p.a .endif .if !target(cleandir)