Make clean in src/lib/libc failed due to too many arguments to /bin/sh,
authorRod Grimes <rgrimes@FreeBSD.org>
Thu, 17 Jun 1993 02:01:11 +0000 (02:01 +0000)
committerRod Grimes <rgrimes@FreeBSD.org>
Thu, 17 Jun 1993 02:01:11 +0000 (02:01 +0000)
this was fixed for make cleandir in the patchkit, this fixes it for
make clean.

share/mk/bsd.lib.mk

index 44dbeed..bc34940 100644 (file)
@@ -7,6 +7,8 @@
 #
 # 27 Apr 93    Rodney W. Grimes        Break up cleandir so that we do not
 #                                      overflow shell args
 #
 # 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"
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
@@ -85,8 +87,9 @@ llib-l${LIB}.ln: ${SRCS}
 
 .if !target(clean)
 clean:
 
 .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)
 .endif
 
 .if !target(cleandir)