Need to explicitly create directory behing symlink.

Clean share lib directory.
This commit is contained in:
dsl 2003-10-08 18:38:43 +00:00
parent 2ae753f095
commit cabc1ae936
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.53 2003/10/08 18:20:15 dsl Exp $
# $NetBSD: Makefile.booters,v 1.54 2003/10/08 18:38:43 dsl Exp $
.include <bsd.own.mk>
@ -72,6 +72,7 @@ lib:
.ifdef LIBOBJ
-rm -f $@
ln -s ${LIBOBJ}/lib .
[ -d ${LIBOBJ}/lib ] || mkdir ${LIBOBJ}/lib
.else
mkdir lib
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2003/10/08 18:20:15 dsl Exp $
# $NetBSD: Makefile,v 1.28 2003/10/08 18:38:43 dsl Exp $
SUBDIR+= 3c509
SUBDIR+= .WAIT
@ -14,3 +14,8 @@ LIBOBJ= ${.OBJDIR}
.MAKEOVERRIDES+= LIBOBJ
.include <bsd.subdir.mk>
cleandir distclean: cleanlibdir
cleanlibdir:
-rm -rf lib