Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- src/share/mk/bsd.prog.mk 1993/03/22 08:09:40 1.2 +++ src/share/mk/bsd.prog.mk 1993/03/23 07:26:55 1.3 @@ -153,10 +153,9 @@ lint: ${SRCS} _PROGSUBDIR obj: _PROGSUBDIR .else obj: _PROGSUBDIR - @cd ${.CURDIR}; \ + @cd ${.CURDIR}; rm -f obj > /dev/null 2>&1 || true; \ here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \ if test $$here != $$subdir ; then \ - rm -rf obj; \ dest=/usr/obj/$$subdir ; \ echo "$$here -> $$dest"; ln -s $$dest obj; \ if test -d /usr/obj -a ! -d $$dest; then \ @@ -167,7 +166,6 @@ obj: _PROGSUBDIR else \ true ; \ dest=$$here/obj ; \ - /bin/rm -f $$dest 2> /dev/null || true; \ echo "making $$here/obj" ; \ if test ! -d obj ; then \ mkdir $$here/obj; \