diff --git a/tools/host-mkdep/Makefile b/tools/host-mkdep/Makefile index 5d492153ee11..9b44a2093fec 100644 --- a/tools/host-mkdep/Makefile +++ b/tools/host-mkdep/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/01/21 20:04:37 tv Exp $ +# $NetBSD: Makefile,v 1.3 2002/02/12 19:54:16 jmc Exp $ TIMESTAMP= ${TOOLDIR}/bin/nbhost-mkdep @@ -15,7 +15,10 @@ host-mkdep: configure host-mkdep.in # This is the only program that comes before binstall. install: ${TIMESTAMP} ${TIMESTAMP}: host-mkdep - cp host-mkdep $@ + if [ ! -d ${TOOLDIR}/bin ]; then \ + mkdir ${TOOLDIR}; \ + mkdir ${TOOLDIR}/bin; \ + fi; cp host-mkdep $@ chmod +x $@ # Run by hand, then "configure" script committed: